From 50f01407806859cdd8f3a939ceadba2128a5f3ce Mon Sep 17 00:00:00 2001 From: Hong Shin Date: Thu, 28 Dec 2023 11:15:02 -0800 Subject: [PATCH] Fix textfmt typo: vaid -> valid PiperOrigin-RevId: 594286947 --- src/google/protobuf/text_format.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/google/protobuf/text_format.cc b/src/google/protobuf/text_format.cc index cc74abc778..7637a368a7 100644 --- a/src/google/protobuf/text_format.cc +++ b/src/google/protobuf/text_format.cc @@ -1655,7 +1655,7 @@ namespace { // UTF-8 validity issues. bool DefinitelyNeedsEscape(unsigned char ch) { if (ch >= 0x80) { - return false; // High byte; no escapes necessary if UTF-8 is vaid. + return false; // High byte; no escapes necessary if UTF-8 is valid. } if (!absl::ascii_isprint(ch)) {