diff options
author | Abseil Team <absl-team@google.com> | 2023-11-03 12:10:08 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2023-11-03 12:11:58 -0700 |
commit | 1cb3345dac55cdc5c2961d60de4d1e2e636773e9 (patch) | |
tree | e0efb27c8da4bbeca35751dbaa3e88c1acd0220d /absl/strings | |
parent | 1a03fb9dd1c533e42b6d7d1ebea85b448a07e793 (diff) |
Doc fix.
PiperOrigin-RevId: 579263069
Change-Id: I78678c2fc6aba4851f8a06dafb695c913accf0d0
Diffstat (limited to 'absl/strings')
-rw-r--r-- | absl/strings/str_format.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/absl/strings/str_format.h b/absl/strings/str_format.h index 68e7fcf2..21ee179e 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); |