Skip to content

Commit 656d14d

Browse files
docs: format two unescaped printf references with backticks (#4578)
1 parent 31bed1b commit 656d14d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/syntax.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ The available integer presentation types are:
251251
<td><code>'b'</code></td>
252252
<td>
253253
Binary format. Outputs the number in base 2. Using the <code>'#'</code>
254-
option with this type adds the prefix <code>"0b"</code> to the output value.
254+
option with this type adds the prefix <code>"0b"</code> to the output value.
255255
</td>
256256
</tr>
257257
<tr>
@@ -768,9 +768,9 @@ fmt::print("{:n:f}", std::array{std::numbers::pi, std::numbers::e});
768768
## Format Examples
769769
770770
This section contains examples of the format syntax and comparison with
771-
the printf formatting.
771+
the `printf` formatting.
772772
773-
In most of the cases the syntax is similar to the printf formatting,
773+
In most of the cases the syntax is similar to the `printf` formatting,
774774
with the addition of the `{}` and with `:` used instead of `%`. For
775775
example, `"%03.2f"` can be translated to `"{:03.2f}"`.
776776

0 commit comments

Comments
 (0)