diff --git a/doc/api.rst b/doc/api.rst index 6f790f8f..1402f7c0 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -71,10 +71,12 @@ checked at compile time in C++20. To pass a runtime format string wrap it in Compile-Time Format String Checks --------------------------------- -Compile-time checks are enabled by default on compilers that support C++20 -``consteval``. On older compilers you can use the +Compile-time format string checks are enabled by default on compilers +that support C++20 ``consteval``. On older compilers you can use the :ref:`FMT_STRING `: macro defined in ``fmt/format.h`` instead. +Unused arguments are allowed as in Python's `str.format` and ordinary functions. + .. doxygenclass:: fmt::basic_format_string :members: