Commit 02b02166 by Abseil Team Committed by Copybara-Service

Minor wording fix in the comment for ConsumeSuffix()

PiperOrigin-RevId: 454305599
Change-Id: I528dfe0223280c379d8791373dc2871ad5812f63
parent eda52d05
......@@ -50,7 +50,7 @@ inline bool ConsumePrefix(absl::string_view* str, absl::string_view expected) {
}
// ConsumeSuffix()
//
// Strips the `expected` prefix, if found, from the end of `str`.
// Strips the `expected` suffix, if found, from the end of `str`.
// If the operation succeeded, `true` is returned. If not, `false`
// is returned and `str` is not modified.
//
......
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