mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-07 14:24:43 +00:00
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. |
||
|---|---|---|
| .. | ||
| testdata | ||
| bits_utils.zig | ||
| compressor.zig | ||
| compressor_test.zig | ||
| decompressor.zig | ||
| deflate_const.zig | ||
| deflate_fast.zig | ||
| deflate_fast_test.zig | ||
| dict_decoder.zig | ||
| huffman_bit_writer.zig | ||
| huffman_code.zig | ||
| mem_utils.zig | ||
| token.zig | ||