From e51119508c5645ca012094a64f26044f30129093 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sat, 20 Jan 2018 17:55:28 -0800 Subject: [PATCH] argument index -> argument id --- doc/syntax.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/syntax.rst b/doc/syntax.rst index 256d4ad4..2d994c0a 100644 --- a/doc/syntax.rst +++ b/doc/syntax.rst @@ -4,8 +4,9 @@ Format String Syntax ******************** -Formatting functions such as :ref:`fmt::format() ` and :ref:`fmt::print() ` -use the same format string syntax described in this section. +Formatting functions such as :ref:`fmt::format() ` and +:ref:`fmt::print() ` use the same format string syntax described in this +section. Format strings contain "replacement fields" surrounded by curly braces ``{}``. Anything that is not contained in braces is considered literal text, which is @@ -51,8 +52,8 @@ described in the next section. A *format_spec* field can also include nested replacement fields in certain positions within it. These nested replacement fields can contain only an -argument index; format specifications are not allowed. This allows the -formatting of a value to be dynamically specified. +argument id; format specifications are not allowed. This allows the formatting +of a value to be dynamically specified. See the :ref:`formatexamples` section for some examples.