diff --git a/README.rst b/README.rst index 8aebee93..de6099e7 100644 --- a/README.rst +++ b/README.rst @@ -111,8 +111,8 @@ Check a format string at compile time: .. code:: c++ - // test.cc #include + std::string s = format(FMT_STRING("{:d}"), "hello"); gives a compile-time error because ``d`` is an invalid format specifier for a