summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--absl/strings/strip.h2
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.
//