chore(client): fix nightly build failure in benchmarks

This commit is contained in:
Sean McArthur
2018-08-15 15:32:57 -07:00
parent d7465b4bda
commit 75458bc5fb

View File

@@ -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();