Minor wording fix in the comment for ConsumeSuffix()

PiperOrigin-RevId: 454305599
Change-Id: I528dfe0223280c379d8791373dc2871ad5812f63
This commit is contained in:
Abseil Team
2022-06-10 23:20:25 -07:00
committed by Copybara-Service
parent eda52d053e
commit 02b0216656

View File

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