Skip to content

Commit 8aca244

Browse files
committed
clippy
1 parent 0a16cd1 commit 8aca244

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

quinn-proto/src/connection/paths.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ impl PathStatusState {
500500
return;
501501
}
502502
self.remote_seq = Some(seq);
503-
let prev = std::mem::replace(&mut self.remote_status, Some(status));
503+
let prev = self.remote_status.replace(status);
504504
if prev != Some(status) {
505505
debug!(?status, ?seq, "remote changed path status");
506506
}

0 commit comments

Comments
 (0)