small typo in syntax.rst

0x1e was misread as 0x13, it looks like
This commit is contained in:
Cleroth 2022-12-23 10:44:36 +08:00 committed by Victor Zverovich
parent 6a186bcd66
commit 040dc2a5d4

View File

@ -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'});