Fix an example.

This commit is contained in:
Victor Zverovich 2012-12-09 10:26:12 -08:00
parent d3998a2a1f
commit 8b60a804ba

View File

@ -24,7 +24,7 @@ This prints "Hello, world!" to stdout::
fmt::Print("Hello, {0}!") << "world"; fmt::Print("Hello, {0}!") << "world";
Arguments are accessed by position and arguments' indices can be repeated: Arguments are accessed by position and arguments' indices can be repeated::
std::string s = str(fmt::Format("{0}{1}{0}") << "abra" << "cad"); std::string s = str(fmt::Format("{0}{1}{0}") << "abra" << "cad");
// s == "abracadabra" // s == "abracadabra"