Update README.rst

This commit is contained in:
Victor Zverovich 2020-11-26 19:51:31 -08:00 committed by GitHub
parent 3f4839ce3d
commit d0110b7e35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -143,7 +143,7 @@ Output::
.. code:: c++
std::string s = fmt::format(FMT_STRING("{:d}"), "don't panic");
std::string s = fmt::format(FMT_STRING("{:d}"), "I am not a number");
This gives a compile-time error because ``d`` is an invalid format specifier for
a string.