zig/lib/std/zig
Damien Firmenich 5fafcc2b62
zig fmt: remove trailing whitespace on doc comments
Fixes #11353

The renderer treats comments and doc comments differently since doc
comments are parsed into the Ast. This commit adds a check after getting
the text for the doc comment and trims whitespace at the end before
rendering.

The `a = 0,` in the test is here to avoid a ParseError while parsing the
test.
2022-04-05 18:08:33 +03:00
..
system Pull elf magic string out to re-used constant 2022-04-04 15:33:24 +03:00
Ast.zig std.zig.Ast: fix escaped capture of by-value parameters 2022-03-30 11:52:10 -07:00
c_builtins.zig translate-c: add missing builtins used by CRuby 2022-03-19 19:08:17 +02:00
c_translation.zig deprecated TypeInfo in favor of Type 2022-03-08 20:38:12 +02:00
CrossTarget.zig improve detection of how to execute binaries on the host 2021-12-02 21:51:14 -07:00
fmt.zig std: fix false positive for zig.isValidId with empty string (#11104) 2022-03-09 19:38:47 -05:00
parse.zig add error when binary ops don't have matching whitespace on both sides 2022-03-20 12:55:04 +02:00
parser_test.zig zig fmt: remove trailing whitespace on doc comments 2022-04-05 18:08:33 +03:00
perf_test.zig allocgate: renamed getAllocator function to allocator 2021-11-30 23:32:47 +00:00
render.zig zig fmt: remove trailing whitespace on doc comments 2022-04-05 18:08:33 +03:00
string_literal.zig zig fmt: remove trailing whitespace on doc comments 2022-04-05 18:08:33 +03:00
system.zig improve detection of how to execute binaries on the host 2021-12-02 21:51:14 -07:00
tokenizer.zig Update Tokenizer Dump Function 2022-02-20 17:47:42 -05:00