summaryrefslogtreecommitdiff
path: root/absl/status
diff options
context:
space:
mode:
authorGravatar Abseil Team <absl-team@google.com>2020-10-01 14:14:42 -0700
committerGravatar Andy Getzendanner <durandal@google.com>2020-10-02 02:28:44 +0000
commitb978fc02f02ba79c545f99d0d65bd066fb8cebf8 (patch)
tree73c12d561d80db1967628f49d010bc6d1a75f2f2 /absl/status
parent093cc27604df1c4a179b73bc3f00d4d1ce2ce113 (diff)
Export of internal Abseil changes
-- ef529b5fc5d72de02c145ae6643af0465090252b by Abseil Team <absl-team@google.com>: Fix typo in comment (foo -> i). PiperOrigin-RevId: 334894645 -- 18aab6f6c71e6abd83d467dbf8868df24100e710 by Abseil Team <absl-team@google.com>: Fix -Wno-sign-compare error PiperOrigin-RevId: 334837327 GitOrigin-RevId: ef529b5fc5d72de02c145ae6643af0465090252b Change-Id: Ieeedf1a4fd458eb38ffbda0ca77a47021b510043
Diffstat (limited to 'absl/status')
-rw-r--r--absl/status/statusor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/status/statusor.h b/absl/status/statusor.h
index bdf6039d..0bbf6ef2 100644
--- a/absl/status/statusor.h
+++ b/absl/status/statusor.h
@@ -129,7 +129,7 @@ class ABSL_MUST_USE_RESULT StatusOr;
// Example:
//
// absl::StatusOr<int> i = GetCount();
-// if (foo.ok()) {
+// if (i.ok()) {
// updated_total += *i
// }
//