From 1cb3345dac55cdc5c2961d60de4d1e2e636773e9 Mon Sep 17 00:00:00 2001 From: Abseil Team Date: Fri, 3 Nov 2023 12:10:08 -0700 Subject: [PATCH] Doc fix. PiperOrigin-RevId: 579263069 Change-Id: I78678c2fc6aba4851f8a06dafb695c913accf0d0 --- absl/strings/str_format.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/absl/strings/str_format.h b/absl/strings/str_format.h index 68e7fcf2261..21ee179e44d 100644 --- a/absl/strings/str_format.h +++ b/absl/strings/str_format.h @@ -287,8 +287,8 @@ using FormatSpec = str_format_internal::FormatSpecTemplate< // Example: // // // Verified at compile time. -// absl::ParsedFormat<'s', 'd'> formatString("Welcome to %s, Number %d!"); -// absl::StrFormat(formatString, "TheVillage", 6); +// absl::ParsedFormat<'s', 'd'> format_string("Welcome to %s, Number %d!"); +// absl::StrFormat(format_string, "TheVillage", 6); // // // Verified at runtime. // auto format_runtime = absl::ParsedFormat<'d'>::New(format_string);