diff --git a/doc/api.rst b/doc/api.rst index ca193bda..0c594d9a 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -140,7 +140,7 @@ without implementing them yourself. For example:: // parse is inherited from formatter. auto format(color c, format_context& ctx) const - -> format_parse_context::iterator; + -> format_context::iterator; }; // color.cc: @@ -148,7 +148,7 @@ without implementing them yourself. For example:: #include auto fmt::formatter::format(color c, format_context& ctx) const - -> format_parse_context::iterator { + -> format_context::iterator { string_view name = "unknown"; switch (c) { case color::red: name = "red"; break;