Skip to content

Commit

Permalink
small typo in syntax.rst
Browse files Browse the repository at this point in the history
0x1e was misread as 0x13, it looks like
  • Loading branch information
Cleroth authored and vitaut committed Dec 23, 2022
1 parent 6a186bc commit 040dc2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/syntax.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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'});
Expand Down

0 comments on commit 040dc2a

Please sign in to comment.