diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-08-11 11:14:52 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-11 11:14:52 +0530 |
| commit | 72d0be45f835977e6f080a3459ec388cc634dba0 (patch) | |
| tree | bc1cd3ff91793e470a7a73d14a1d10f18436009c /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | 23acd822537227dd53253a6f6f422ea7a49a0919 (diff) | |
| parent | 5938fd704d4358a12081cba810f3055531da4386 (diff) | |
| download | rust-72d0be45f835977e6f080a3459ec388cc634dba0.tar.gz rust-72d0be45f835977e6f080a3459ec388cc634dba0.zip | |
Rollup merge of #99337 - jsha:simplify-highlight, r=GuillaumeGomez
rustdoc: simplify highlight.rs Split render_with_highlighting, which took many optional parameters, into three functions for specific purposes, which each take a smaller number of mostly required parameters. Remove some plumbing to pass through an "edition" parameter, which was used solely to avoid highlighting some 2021 Edition keywords in non-2021 code. I've tested a build of std docs before and after, and this does not change the generated HTML at all. Followup from https://github.com/rust-lang/rust/pull/91264#discussion_r901151101 r? ``@GuillaumeGomez``
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
