diff --git a/doc/api.rst b/doc/api.rst index d7bdd349..669517c8 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -278,7 +278,7 @@ You can also write a formatter for a hierarchy of classes:: }; template - struct fmt::formatter::value, char>> : + struct fmt::formatter::value>> : fmt::formatter { template auto format(const A& a, FormatCtx& ctx) {