Skip to content

Commit 4db8933

Browse files
committed
Suppress clippy mut_mut pedantic lint in test suite
error: generally you want to avoid `&mut &mut _` if possible --> tests/test.rs:1355:13 | 1355 | / futures::select! { 1356 | | _ = async { 1357 | | println!("{}", self.0); 1358 | | }.fuse() => {} 1359 | | } | |_____________^ | = note: `-D clippy::mut-mut` implied by `-D clippy::pedantic` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mut_mut = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
1 parent 54c5d9c commit 4db8933

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1337,6 +1337,7 @@ pub mod issue158 {
13371337
}
13381338

13391339
// https://github.com/dtolnay/async-trait/issues/161
1340+
#[allow(clippy::mut_mut)]
13401341
pub mod issue161 {
13411342
use async_trait::async_trait;
13421343
use futures::future::FutureExt;

0 commit comments

Comments
 (0)