docs: format two unescaped printf references with backticks (#4578)

This commit is contained in:
John Zimmerman
2025-10-16 13:27:51 -05:00
committed by GitHub
parent 31bed1bb65
commit 656d14db8b

View File

@@ -768,9 +768,9 @@ fmt::print("{:n:f}", std::array{std::numbers::pi, std::numbers::e});
## Format Examples
This section contains examples of the format syntax and comparison with
the printf formatting.
the `printf` formatting.
In most of the cases the syntax is similar to the printf formatting,
In most of the cases the syntax is similar to the `printf` formatting,
with the addition of the `{}` and with `:` used instead of `%`. For
example, `"%03.2f"` can be translated to `"{:03.2f}"`.