circmgr: Fix a pair of clippy warnings.

This commit is contained in:
Nick Mathewson 2022-01-07 13:53:21 -05:00
parent d63a251afc
commit debac8b973
1 changed files with 2 additions and 2 deletions

View File

@ -1291,7 +1291,7 @@ mod test {
}
impl FakeCirc {
fn eq(self: &Self, other: &Self) -> bool {
fn eq(&self, other: &Self) -> bool {
self.id == other.id
}
}
@ -1969,7 +1969,7 @@ mod test {
policy: ep_full,
isolation: None,
},
fake_circ.clone(),
fake_circ,
expiration,
);
let mut entry_full_c = entry_full.clone();