Fix example

This commit is contained in:
Victor Zverovich 2014-10-09 11:25:39 -07:00
parent 4865950649
commit f05e856017

View File

@ -432,7 +432,7 @@ Accessing arguments by position::
format("{0}, {1}, {2}", 'a', 'b', 'c');
// Result: "a, b, c"
format("{}, {}, {}", 'a', 'b', 'c)';
format("{}, {}, {}", 'a', 'b', 'c');
// Result: "a, b, c"
format("{2}, {1}, {0}", 'a', 'b', 'c');
// Result: "c, b, a"