Skip to content

Commit

Permalink
Remove a bool for color in favor of the WriteColor trait wrapping…
Browse files Browse the repository at this point in the history
… colored and uncolored printing
  • Loading branch information
oli-obk committed Jul 31, 2023
1 parent 9a0af82 commit 084c90a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion clippy_lints/src/doc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,6 @@ fn check_code(cx: &LateContext<'_>, text: &str, edition: Edition, span: Span) {
let emitter = EmitterWriter::new(
Box::new(io::sink()),
fallback_bundle,
false,
);
let handler = Handler::with_emitter(Box::new(emitter)).disable_warnings();
let sess = ParseSess::with_span_handler(handler, sm);
Expand Down

0 comments on commit 084c90a

Please sign in to comment.