mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-26 20:20:04 +00:00
Cleanup example
This commit is contained in:
parent
445f5d392b
commit
dc69afad14
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user