diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-07-30 01:22:42 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-30 01:22:42 +0200 |
| commit | fa94851b07d0cc0b5a8f0e0834b738735c041083 (patch) | |
| tree | 4926b9bc81461c977211a5cb276643b3af0e4cb6 /compiler/rustc_macros/src | |
| parent | 32303b219d4dffa447aa606bc11c7a648f44a862 (diff) | |
| parent | b7871e55374e1a38e3c6004eaa19fd839a777df3 (diff) | |
| download | rust-fa94851b07d0cc0b5a8f0e0834b738735c041083.tar.gz rust-fa94851b07d0cc0b5a8f0e0834b738735c041083.zip | |
Rollup merge of #114129 - GuillaumeGomez:rustdoc-cleanup, r=notriddle
Rustdoc small cleanups Each commit does some little cleanups: * We had some `Res` comparisons in multiple places (and still do, but unless we use a macro, it's not possible to "merge" any further) so I moved it into a function. * It was weird to have some utils function used everywhere in `visit_ast` so I instead moved it into `clean/utils.rs`. * In HTML rendering, we had some write "issues": * Multiple calls that could be merged into one. * Some `write!` that could be `write_str`. * We didn't use the new `format!` args much. r? `@notriddle`
Diffstat (limited to 'compiler/rustc_macros/src')
0 files changed, 0 insertions, 0 deletions
