]> git.lizzy.rs Git - rust.git/commit - src/tools/rustfmt
Rollup merge of #79069 - jyn514:class-none, r=GuillaumeGomez
authorMara Bos <m-ou.se@m-ou.se>
Tue, 17 Nov 2020 15:13:51 +0000 (16:13 +0100)
committerGitHub <noreply@github.com>
Tue, 17 Nov 2020 15:13:51 +0000 (16:13 +0100)
commitdda479815ad382dc44a8b41dc516fb7fe3ebe8bc
treef8824cba9814e8caea0e236cf1b644f733e026f7
parentfa45fce0d37ed5991e1080468c84322350156f22
parent279bf2927545997b2b306a1aefdaa51b706894d2
Rollup merge of #79069 - jyn514:class-none, r=GuillaumeGomez

Get rid of `highlight::Class::None`

This is mostly me learning the codebase for https://github.com/rust-lang/rust/pull/77939, so feel free to close the PR.
It does have the small benefit that we statically know rustdoc isn't generating useless `span`s, though.

r? `@GuillaumeGomez`
cc `@matklad`
src/librustdoc/html/highlight.rs