From 02b0216656ff68784b4864557cb15b9a554792a4 Mon Sep 17 00:00:00 2001 From: Abseil Team Date: Fri, 10 Jun 2022 23:20:25 -0700 Subject: [PATCH] Minor wording fix in the comment for ConsumeSuffix() PiperOrigin-RevId: 454305599 Change-Id: I528dfe0223280c379d8791373dc2871ad5812f63 --- absl/strings/strip.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. //