Skip to content

Commit 36e9d25

Browse files
--wip-- [skip ci]
1 parent 99a8277 commit 36e9d25

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crates/criterion_compat/src/compat/bencher.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ pub struct Bencher<'a> {
1515
_marker: std::marker::PhantomData<&'a ()>,
1616
}
1717

18+
// Needed because lifetime is only used when async is enabled
19+
#[allow(clippy::needless_lifetimes)]
1820
impl<'a> Bencher<'a> {
1921
pub fn new(codspeed: Rc<RefCell<CodSpeed>>, uri: String) -> Self {
2022
Bencher {

0 commit comments

Comments
 (0)