Commit 81b9030e by Abseil Team Committed by Copybara-Service

Fix a typo of absl::Nonnull in the example comment.

PiperOrigin-RevId: 546897533
Change-Id: I3ad12f252c49e4672a64d00d0107111fdc5b6ac8
parent 7152f9bc
...@@ -164,7 +164,7 @@ namespace absl { ...@@ -164,7 +164,7 @@ namespace absl {
// Example: // Example:
// //
// // `employee` is designated as not null. // // `employee` is designated as not null.
// void PaySalary(absl::NotNull<Employee *> employee) { // void PaySalary(absl::Nonnull<Employee *> employee) {
// pay(*employee); // OK to dereference // pay(*employee); // OK to dereference
// } // }
template <typename T> template <typename T>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment