Minor wording fix in the comment for ConsumeSuffix()

PiperOrigin-RevId: 454305599
Change-Id: I528dfe0223280c379d8791373dc2871ad5812f63
pull/1197/head
Abseil Team 3 years ago committed by Copybara-Service
parent eda52d053e
commit 02b0216656
  1. 2
      absl/strings/strip.h

@ -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.
//

Loading…
Cancel
Save