mirror of
https://github.com/abseil/abseil-cpp.git
synced 2026-06-04 20:14:23 +08:00
Minor wording fix in the comment for ConsumeSuffix()
PiperOrigin-RevId: 454305599 Change-Id: I528dfe0223280c379d8791373dc2871ad5812f63
This commit is contained in:
committed by
Copybara-Service
parent
eda52d053e
commit
02b0216656
@@ -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.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user