From ff38425f633263ddff9643d09cee01de84beac0a Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Mon, 2 Sep 2013 10:24:47 -0700 Subject: [PATCH] Minor changes. --- README.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index 58e816b9..36a3bd00 100644 --- a/README.rst +++ b/README.rst @@ -42,9 +42,9 @@ This prints ``Hello, world!`` to stdout: .. code-block:: c++ - fmt::Print("Hello, {0}!") << "world"; + fmt::Print("Hello, {}!") << "world"; -Arguments are accessed by position and arguments' indices can be repeated: +Arguments can be accessed by position and arguments' indices can be repeated: .. code-block:: c++ @@ -130,7 +130,7 @@ which is a lot of typing compared to printf: printf("%.2f\n", 1.23456); -Matthew Wilson, the author of FastFormat referred to this situation with +Matthew Wilson, the author of FastFormat, referred to this situation with IOStreams as "chevron hell". IOStreams doesn't support positional arguments by design.