summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Abseil Team <absl-team@google.com>2024-02-08 05:37:45 -0800
committerGravatar Copybara-Service <copybara-worker@google.com>2024-02-08 05:38:46 -0800
commit19c20d73aacfb32968493bf083574f05e68ea051 (patch)
tree62adee8e13dfacda671a10f6672457b89d3520b9
parent99f0b6d16f0e9ab6027379c31ce6c99dc1db5e9c (diff)
Span: Fixed comment referencing std::span as_writable_bytes() as as_mutable_bytes().
PiperOrigin-RevId: 605288522 Change-Id: Id16ad96b9323c71bd60801a6c8c359f7ff3d320e
-rw-r--r--absl/types/span.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/types/span.h b/absl/types/span.h
index 88cd7595..c183aa88 100644
--- a/absl/types/span.h
+++ b/absl/types/span.h
@@ -43,7 +43,7 @@
// * A read-only `absl::Span<const T>` can be implicitly constructed from an
// initializer list.
// * `absl::Span` has no `bytes()`, `size_bytes()`, `as_bytes()`, or
-// `as_mutable_bytes()` methods
+// `as_writable_bytes()` methods
// * `absl::Span` has no static extent template parameter, nor constructors
// which exist only because of the static extent parameter.
// * `absl::Span` has an explicit mutable-reference constructor