Skip to content

Commit 084c90a

Browse files
committed
Remove a bool for color in favor of the WriteColor trait wrapping colored and uncolored printing
1 parent 9a0af82 commit 084c90a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

clippy_lints/src/doc.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,6 @@ fn check_code(cx: &LateContext<'_>, text: &str, edition: Edition, span: Span) {
719719
let emitter = EmitterWriter::new(
720720
Box::new(io::sink()),
721721
fallback_bundle,
722-
false,
723722
);
724723
let handler = Handler::with_emitter(Box::new(emitter)).disable_warnings();
725724
let sess = ParseSess::with_span_handler(handler, sm);

0 commit comments

Comments
 (0)