From e077396f5af1635cb21c86cddff255c1eeb85978 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Fri, 12 May 2023 16:10:38 -0700 Subject: [PATCH] Update docs --- doc/api.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/api.rst b/doc/api.rst index 46bed1a3..c593b13f 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -249,9 +249,8 @@ You can also write a formatter for a hierarchy of classes:: fmt::print("{}", a); // prints "B" } -If a type provides both a ``formatter`` specialization and an implicit -conversion to a formattable type, the specialization takes precedence over the -conversion. +Providing both a ``formatter`` specialization and a ``format_as`` overload is +disallowed. Named Arguments ---------------