mirror of
https://github.com/fmtlib/fmt.git
synced 2025-02-15 21:40:02 +00:00
small typo in syntax.rst
0x1e was misread as 0x13, it looks like
This commit is contained in:
parent
6a186bcd66
commit
040dc2a5d4
@ -497,7 +497,7 @@ Examples::
|
||||
fmt::format("{}", std::vector{10, 20, 30});
|
||||
// Result: [10, 20, 30]
|
||||
fmt::format("{::#x}", std::vector{10, 20, 30});
|
||||
// Result: [0xa, 0x14, 0x13]
|
||||
// Result: [0xa, 0x14, 0x1e]
|
||||
fmt::format("{}", vector{'h', 'e', 'l', 'l', 'o'});
|
||||
// Result: ['h', 'e', 'l', 'l', 'o']
|
||||
fmt::format("{::}", vector{'h', 'e', 'l', 'l', 'o'});
|
||||
|
Loading…
x
Reference in New Issue
Block a user