summaryrefslogtreecommitdiff
path: root/absl/status
diff options
context:
space:
mode:
authorGravatar Abseil Team <absl-team@google.com>2023-05-08 16:58:10 -0700
committerGravatar Copybara-Service <copybara-worker@google.com>2023-05-08 16:58:56 -0700
commit41aecd0270bb711c9b9f462c6729c5ddfa97b707 (patch)
tree070b5bb0cf846073b61c1c64a5aa84d5f736117d /absl/status
parent4aa4f33125e19dc9f118c1ac334c7714d2be2252 (diff)
Add semicolon at the end of the line on code example
PiperOrigin-RevId: 530445615 Change-Id: I0c112773e7f42989840cb8b915167ade8833ef73
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 f1932238..935366d5 100644
--- a/absl/status/statusor.h
+++ b/absl/status/statusor.h
@@ -146,7 +146,7 @@ class ABSL_MUST_USE_RESULT StatusOr;
//
// absl::StatusOr<int> i = GetCount();
// if (i.ok()) {
-// updated_total += *i
+// updated_total += *i;
// }
//
// NOTE: using `absl::StatusOr<T>::value()` when no valid value is present will