From d65acc4e6cf111945d2df0ef524ed6c2f4a13427 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Wed, 14 Sep 2022 10:59:50 -0700 Subject: [PATCH] Improve docs --- doc/api.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/api.rst b/doc/api.rst index 98f4d8e6..4b15385a 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -404,9 +404,9 @@ locale:: std::locale::global(std::locale("en_US.UTF-8")); auto s = fmt::format("{:L}", 1000000); // s == "1,000,000" -``fmt/format.h`` provides the following overloads of formatting functions -that take ``std::locale`` as a parameter. The locale is passed as a template -parameter to avoid the expensive ```` include. +``fmt/format.h`` provides the following overloads of formatting functions that +take ``std::locale`` as a parameter. The locale type is a template parameter to +avoid the expensive ```` include. .. doxygenfunction:: format(const Locale& loc, format_string fmt, T&&... args) -> std::string .. doxygenfunction:: format_to(OutputIt out, const Locale& loc, format_string fmt, T&&... args) -> OutputIt