mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-30 18:57:34 +02:00
Cleanup example
This commit is contained in:
@ -111,8 +111,8 @@ Check a format string at compile time:
|
||||
|
||||
.. code:: c++
|
||||
|
||||
// test.cc
|
||||
#include <fmt/format.h>
|
||||
|
||||
std::string s = format(FMT_STRING("{:d}"), "hello");
|
||||
|
||||
gives a compile-time error because ``d`` is an invalid format specifier for a
|
||||
|
Reference in New Issue
Block a user