Skip to content

Commit 5d59eba

Browse files
adriencacciaart049
authored andcommitted
chore: bump rust-toolchain to 1.84
1 parent 6a00c7f commit 5d59eba

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

crates/criterion_compat/benches/criterion_integration/external_process.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
//! This is a mirror of https://github.com/bheisler/criterion.rs/blob/master/benches/benchmarks/external_process.rs
2+
#![allow(clippy::all)]
3+
24
use codspeed_criterion_compat::{criterion_group, Criterion};
35
use std::{
46
io::{BufRead, BufReader, Write},

crates/criterion_compat/src/compat/bencher.rs

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

18+
#[allow(clippy::needless_lifetimes)]
1819
impl<'a> Bencher<'a> {
1920
pub fn new(codspeed: Rc<RefCell<CodSpeed>>, uri: String) -> Self {
2021
Bencher {
@@ -137,6 +138,7 @@ pub struct AsyncBencher<'a, 'b, A: AsyncExecutor> {
137138
}
138139

139140
#[cfg(feature = "async")]
141+
#[allow(clippy::needless_lifetimes)]
140142
impl<'a, 'b, A: AsyncExecutor> AsyncBencher<'a, 'b, A> {
141143
#[allow(clippy::await_holding_refcell_ref)]
142144
#[inline(never)]

crates/criterion_compat/src/compat/group.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ pub struct BenchmarkGroup<'a, M: Measurement = WallTime> {
1717
_marker: PhantomData<&'a M>,
1818
}
1919

20+
#[allow(clippy::needless_lifetimes)]
2021
impl<'a, M: Measurement> BenchmarkGroup<'a, M> {
2122
pub fn new(criterion: &mut Criterion<M>, group_name: String) -> BenchmarkGroup<M> {
2223
BenchmarkGroup::<M> {
@@ -78,7 +79,7 @@ impl<'a, M: Measurement> BenchmarkGroup<'a, M> {
7879
}
7980

8081
// Dummy methods
81-
#[allow(unused_variables)]
82+
#[allow(unused_variables, clippy::needless_lifetimes)]
8283
impl<'a, M: Measurement> BenchmarkGroup<'a, M> {
8384
pub fn sample_size(&mut self, n: usize) -> &mut Self {
8485
self

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[toolchain]
2-
channel = "1.80"
2+
channel = "1.84"

0 commit comments

Comments
 (0)