Skip to content

Commit 393f93d

Browse files
committed
tests: remove unnecessary clippy allow
We have declared MSRV in Cargo.toml so Clippy automatically suppress this lint as it's not available in our MSRV. Signed-off-by: Gary Guo <gary@garyguo.net>
1 parent d1dbcc2 commit 393f93d

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

tests/ring_buf.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,6 @@ pub struct EvenU64 {
157157
}
158158

159159
impl EvenU64 {
160-
#[allow(clippy::manual_is_multiple_of)]
161160
pub fn new2(value: u64) -> impl Init<Self, Error> {
162161
init!(Self {
163162
info: "Hello world!".to_owned(),
@@ -169,7 +168,6 @@ impl EvenU64 {
169168
}? Error)
170169
}
171170

172-
#[allow(clippy::manual_is_multiple_of)]
173171
pub fn new(value: u64) -> impl Init<Self, ()> {
174172
init!(Self {
175173
info: "Hello world!".to_owned(),

0 commit comments

Comments
 (0)