diff options
Diffstat (limited to 'absl/status/status.h')
-rw-r--r-- | absl/status/status.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/absl/status/status.h b/absl/status/status.h index 39071e5f..5a09faeb 100644 --- a/absl/status/status.h +++ b/absl/status/status.h @@ -469,8 +469,9 @@ class Status final { // Status::ok() // - // Returns `true` if `this->ok()`. Prefer checking for an OK status using this - // member function. + // Returns `true` if `this->code()` == `absl::StatusCode::kOk`, + // indicating the absence of an error. + // Prefer checking for an OK status using this member function. ABSL_MUST_USE_RESULT bool ok() const; // Status::code() |