Minor wording fix in the comment for ConsumeSuffix()
PiperOrigin-RevId: 454305599
Change-Id: I528dfe0223280c379d8791373dc2871ad5812f63
diff --git a/absl/strings/strip.h b/absl/strings/strip.h
index d801774..341e66f 100644
--- a/absl/strings/strip.h
+++ b/absl/strings/strip.h
@@ -50,7 +50,7 @@
}
// 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.
//