diff options
| author | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2023-07-26 13:58:50 +0000 |
|---|---|---|
| committer | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2023-07-31 09:34:36 +0000 |
| commit | 084c90a305ae8c6ac18c5db50a1f86f6e62afb0c (patch) | |
| tree | dadc7f2797cfcbdc41289e7a6ea2e252a93694ba | |
| parent | 9a0af827811b3af1b925131eaf07c6e92df8b026 (diff) | |
| download | rust-084c90a305ae8c6ac18c5db50a1f86f6e62afb0c.tar.gz rust-084c90a305ae8c6ac18c5db50a1f86f6e62afb0c.zip | |
Remove a `bool` for color in favor of the `WriteColor` trait wrapping colored and uncolored printing
| -rw-r--r-- | clippy_lints/src/doc.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clippy_lints/src/doc.rs b/clippy_lints/src/doc.rs index 573838ce63e..2c4d93e33ba 100644 --- a/clippy_lints/src/doc.rs +++ b/clippy_lints/src/doc.rs @@ -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); |
