Skip to content

Commit 09a7205

Browse files
Abseil Teamnetkex
authored andcommitted
Span: Fixed comment referencing std::span as_writable_bytes() as as_mutable_bytes().
PiperOrigin-RevId: 605288522 Change-Id: Id16ad96b9323c71bd60801a6c8c359f7ff3d320e
1 parent 2a481bb commit 09a7205

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

absl/types/span.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
// * A read-only `absl::Span<const T>` can be implicitly constructed from an
4444
// initializer list.
4545
// * `absl::Span` has no `bytes()`, `size_bytes()`, `as_bytes()`, or
46-
// `as_mutable_bytes()` methods
46+
// `as_writable_bytes()` methods
4747
// * `absl::Span` has no static extent template parameter, nor constructors
4848
// which exist only because of the static extent parameter.
4949
// * `absl::Span` has an explicit mutable-reference constructor

0 commit comments

Comments
 (0)