Skip to content

Commit 6b9453f

Browse files
committed
clippy
1 parent 352f1aa commit 6b9453f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

misc/peer-store/src/memory_store.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ impl<T> Store for MemoryStore<T> {
172172
}
173173
DialError::WrongPeerId { obtained, address } => {
174174
// The stored peer id is incorrect, remove incorrect and add correct one.
175-
self.remove_address(&peer, &address);
175+
self.remove_address(&peer, address);
176176
self.update_address(obtained, address);
177177
}
178178
DialError::Transport(errors) => {

0 commit comments

Comments
 (0)