diff options
author | Abseil Team <absl-team@google.com> | 2022-06-10 23:20:25 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2022-06-10 23:21:10 -0700 |
commit | 02b0216656ff68784b4864557cb15b9a554792a4 (patch) | |
tree | 66580789f560200bdb3c4433679fdbc41ed74c78 /absl | |
parent | eda52d053e6400d9411b1f46a1a17a959d4db11f (diff) |
Minor wording fix in the comment for ConsumeSuffix()
PiperOrigin-RevId: 454305599
Change-Id: I528dfe0223280c379d8791373dc2871ad5812f63
Diffstat (limited to 'absl')
-rw-r--r-- | absl/strings/strip.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/strings/strip.h b/absl/strings/strip.h index d801774d..341e66fc 100644 --- a/absl/strings/strip.h +++ b/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. // |