mirror of
https://github.com/hyperium/hyper.git
synced 2026-01-25 02:16:14 +00:00
chore(client): fix nightly build failure in benchmarks
This commit is contained in:
@@ -206,7 +206,7 @@ mod tests {
|
||||
#[cfg(feature = "nightly")]
|
||||
#[bench]
|
||||
fn giver_queue_cancel(b: &mut test::Bencher) {
|
||||
let (_tx, rx) = super::channel::<i32, ()>();
|
||||
let (_tx, mut rx) = super::channel::<i32, ()>();
|
||||
|
||||
b.iter(move || {
|
||||
rx.taker.cancel();
|
||||
|
||||
Reference in New Issue
Block a user