diff --git a/doc/api.rst b/doc/api.rst index 5a93b4aa..54895190 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -120,7 +120,7 @@ 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 fmt::BasicArgFormatter { public: CustomArgFormatter(fmt::BasicFormatter &f, fmt::FormatSpec &s, const char *fmt)