From aa6aa4207ed7781dbdef287c6cc290942e70d062 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sat, 26 Jul 2014 07:25:31 -0700 Subject: [PATCH] Edit readme. --- README.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 06089da5..884d5724 100644 --- a/README.rst +++ b/README.rst @@ -54,8 +54,8 @@ This prints ``Hello, world!`` to stdout: .. code-block:: c++ - fmt::print("Hello, {}!", "world"); // uses Python-like format - fmt::printf("Hello, %s!", "world"); // uses printf format + fmt::print("Hello, {}!", "world"); // uses Python-like format string syntax + fmt::printf("Hello, %s!", "world"); // uses printf format string syntax Arguments can be accessed by position and arguments' indices can be repeated: