diff options
Diffstat (limited to 'absl/strings/str_join.h')
-rw-r--r-- | absl/strings/str_join.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/absl/strings/str_join.h b/absl/strings/str_join.h index 82a3cac2dcbb..47337490d0bf 100644 --- a/absl/strings/str_join.h +++ b/absl/strings/str_join.h @@ -208,11 +208,11 @@ DereferenceFormatter() { // // Joins a `std::map`, with each key-value pair separated by an equals // // sign. This pattern would also work with, say, a // // `std::vector<std::pair<>>`. -// std::map<std::string, int> m = { -// std::make_pair("a", 1), -// std::make_pair("b", 2), -// std::make_pair("c", 3)}; -// std::string s = absl::StrJoin(m, ",", strings::PairFormatter("=")); +// std::map<std::string, int> m = { +// std::make_pair("a", 1), +// std::make_pair("b", 2), +// std::make_pair("c", 3)}; +// std::string s = absl::StrJoin(m, ",", absl::PairFormatter("=")); // EXPECT_EQ("a=1,b=2,c=3", s); // // Example 7: |