Skip to content

Commit 382dc34

Browse files
committed
style: Make clippy happy
1 parent 2c10c47 commit 382dc34

4 files changed

Lines changed: 4 additions & 1 deletion

File tree

crates/anstream/benches/stream.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#![allow(clippy::unwrap_used)]
2+
#![allow(clippy::incompatible_msrv)]
23

34
use std::io::Write as _;
45

crates/anstream/benches/strip.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#![allow(clippy::unwrap_used)]
2+
#![allow(clippy::incompatible_msrv)]
23

34
#[derive(Default)]
45
struct Strip(String);

crates/anstream/benches/wincon.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![allow(clippy::incompatible_msrv)]
2+
13
#[divan::bench(args = DATA)]
24
fn nop(data: &Data) -> Vec<(anstyle::Style, String)> {
35
let mut state = anstream::adapter::WinconBytes::new();

crates/anstream/src/_macros.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,6 @@ macro_rules! eprintln {
311311
/// [`std::panic::set_hook()`]: ../std/panic/fn.set_hook.html
312312
/// [`panic_any`]: ../std/panic/fn.panic_any.html
313313
/// [`Box`]: ../std/boxed/struct.Box.html
314-
/// [`Any`]: crate::any::Any
315314
/// [`format!`]: ../std/macro.format.html
316315
/// [book]: ../book/ch09-00-error-handling.html
317316
/// [`std::result`]: ../std/result/index.html

0 commit comments

Comments
 (0)