summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Abseil Team <absl-team@google.com>2023-07-10 09:37:50 -0700
committerGravatar Copybara-Service <copybara-worker@google.com>2023-07-10 09:38:34 -0700
commit81b9030e78755ca2f581765fc44386cd576f122b (patch)
treee37ee10f7f942efc29f7578204dca1a4fda8c459
parent7152f9bc3cbf039ec96f18545b73948a95c9e7ec (diff)
Fix a typo of absl::Nonnull in the example comment.
PiperOrigin-RevId: 546897533 Change-Id: I3ad12f252c49e4672a64d00d0107111fdc5b6ac8
-rw-r--r--absl/base/nullability.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/base/nullability.h b/absl/base/nullability.h
index 17553d0c..6f49b6f5 100644
--- a/absl/base/nullability.h
+++ b/absl/base/nullability.h
@@ -164,7 +164,7 @@ namespace absl {
// Example:
//
// // `employee` is designated as not null.
-// void PaySalary(absl::NotNull<Employee *> employee) {
+// void PaySalary(absl::Nonnull<Employee *> employee) {
// pay(*employee); // OK to dereference
// }
template <typename T>