| author | |
| committer | |
| log | 0c43b6ef5c26f927b62eeaf3b365c88b07bf8d1a |
| tree | bfedd33ef8a22767e7a39705be1450ae00022019 |
| parent | 6b2f4fd20d3c85e5db592f76dea8e56da54e9211 |
| signature |
1 files changed, 2 insertions(+), 0 deletions(-)
lib/std/fmt.zig+2| ... | ... | @@ -82,6 +82,8 @@ fn peekIsAlign(comptime fmt: []const u8) bool { |
| 82 | 82 | /// This allows user types to be formatted in a logical manner instead of dumping all fields of the type. |
| 83 | 83 | /// |
| 84 | 84 | /// A user type may be a `struct`, `vector`, `union` or `enum` type. |
| 85 | /// | |
| 86 | /// To print literal curly braces, escape them by writing them twice, e.g. `{{` or `}}`. | |
| 85 | 87 | pub fn format( |
| 86 | 88 | writer: anytype, |
| 87 | 89 | comptime fmt: []const u8, |