From 9ff0f3a7d6a79194cc251407d34821ae59849937 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Burtin?= Date: Tue, 16 Aug 2022 18:02:31 +0200 Subject: [PATCH] Fix docs --- doc/api.rst | 2 +- doc/syntax.rst | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/api.rst b/doc/api.rst index 47f32019..0890e148 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -473,7 +473,7 @@ Standard Library Types Formatting ``fmt/std.h`` provides formatters for: -* `std::filesystem::path `_ +* `std::filesystem::path `_ * `std::thread::id `_ * `std::monostate `_ * `std::variant `_ diff --git a/doc/syntax.rst b/doc/syntax.rst index 77d8035e..1ec5c26f 100644 --- a/doc/syntax.rst +++ b/doc/syntax.rst @@ -356,8 +356,8 @@ Range Format Specifications Format specifications for range types have the following syntax: -..productionlist:: sf - range_format_spec: [":" [`underlying_spec`]] +.. productionlist:: sf + range_format_spec: [":" [`underlying_spec`]] The `underlying_spec` is parsed based on the formatter of the range's reference type. @@ -366,7 +366,7 @@ By default, a range of characters or strings is printed escaped and quoted. But if any `underlying_spec` is provided (even if it is empty), then the characters or strings are printed according to the provided specification. -Examples: +Examples:: fmt::format("{}", std::vector{10, 20, 30}); // Result: [10, 20, 30]