Skip to content

Commit b3269e1

Browse files
committed
Ignore clippy::unused_unit lint
``` warning: unneeded unit return type --> src/lib.rs:1159:42 | 1159 | struct AsyncCallOnDrop<Fut, Cleanup: FnMut()> { | ^^^^^^^ help: remove the `-> ()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit = note: `#[warn(clippy::unused_unit)]` on by default ```
1 parent 87a287a commit b3269e1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
html_logo_url = "https://raw.githubusercontent.com/smol-rs/smol/master/assets/images/logo_fullsize_transparent.png"
3939
)]
4040
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
41+
#![allow(clippy::unused_unit)] // false positive fixed in Rust 1.89
4142

4243
use std::fmt;
4344
use std::marker::PhantomData;

0 commit comments

Comments
 (0)