Skip to content

Commit

Permalink
Fix clippy warnings for rust 1.71.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cjpatton committed Jul 13, 2023
1 parent 6c2ee60 commit 0785e28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions daphne/src/testing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ use prio::codec::Encode;
use rand::{thread_rng, Rng};
use serde::{Deserialize, Serialize};
use std::{
borrow::{Borrow, Cow},
borrow::Cow,
collections::{HashMap, HashSet, VecDeque},
hash::Hash,
ops::DerefMut,
Expand Down Expand Up @@ -679,7 +679,7 @@ impl DapLeader<BearerToken> for MockAggregator {

// Check whether Report has been collected or replayed.
if let Some(transition_failure) = self
.check_report_early_fail(task_id, bucket.borrow(), &report.report_metadata)
.check_report_early_fail(task_id, &bucket, &report.report_metadata)
.await
{
return Err(DapError::Transition(transition_failure));
Expand Down

0 comments on commit 0785e28

Please sign in to comment.