diff options
| author | koka <koka.code@gmail.com> | 2022-12-26 01:51:46 +0900 |
|---|---|---|
| committer | koka <koka.code@gmail.com> | 2022-12-26 01:51:46 +0900 |
| commit | fae19a9a79ad275af9e9f2ee5ad15404a9a1bbf7 (patch) | |
| tree | 1a5211f8d1b33882748ffc50eaa0b5d15c607d48 /src/test/rustdoc-ui/coverage/enum-tuple.rs | |
| parent | 4f1bae0c96402b874c2f5686032eb3527b4f1900 (diff) | |
| download | rust-fae19a9a79ad275af9e9f2ee5ad15404a9a1bbf7.tar.gz rust-fae19a9a79ad275af9e9f2ee5ad15404a9a1bbf7.zip | |
Place default values near its definitions
This patch not only improves visibility, but also fixes a potential bug. When a lint description ends with code block, the string will have three backquotes at the end. Since the current implementation prints the default value immediately after that, the markdown renderer is unable to properly close the code block.
Diffstat (limited to 'src/test/rustdoc-ui/coverage/enum-tuple.rs')
0 files changed, 0 insertions, 0 deletions
