diff --git a/doc/api.rst b/doc/api.rst index ba847ae3..53376188 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -90,8 +90,8 @@ custom argument formatter class:: // A custom argument formatter that formats negative integers as unsigned // with the ``x`` format specifier. class CustomArgFormatter : - public fmt::BasicArgFormatter { - public: + public fmt::BasicArgFormatter { + public: CustomArgFormatter(fmt::BasicFormatter &f, fmt::FormatSpec &s, const char *fmt) : fmt::BasicArgFormatter(f, s, fmt) {}