about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorJacob Hoffman-Andrews <github@hoffman-andrews.com>2022-07-16 09:07:40 -0700
committerJacob Hoffman-Andrews <github@hoffman-andrews.com>2022-08-09 20:17:48 -0700
commit5938fd704d4358a12081cba810f3055531da4386 (patch)
tree6411b7d2f976631ce771535444b07928eee818e9 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parentb573e10d21b69ebfadf41aa9c2f0a27919fe4480 (diff)
downloadrust-5938fd704d4358a12081cba810f3055531da4386.tar.gz
rust-5938fd704d4358a12081cba810f3055531da4386.zip
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.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions