Skip to content

Commit e46143b

Browse files
author
“ramfox”
committed
fmt
1 parent 838da43 commit e46143b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

iroh/src/magicsock/remote_map/remote_state/path_state.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -453,8 +453,10 @@ mod tests {
453453
paths.get_mut(&test_ip_addr(3)).unwrap().holepunched = true;
454454

455455
// mark path 4 as having a recent ping (ping in process)
456-
paths.get_mut(&test_ip_addr(4)).unwrap().ping_sent =
457-
Some((TransactionId::default(), Instant::now() - Duration::from_secs(5)));
456+
paths.get_mut(&test_ip_addr(4)).unwrap().ping_sent = Some((
457+
TransactionId::default(),
458+
Instant::now() - Duration::from_secs(5),
459+
));
458460

459461
let pending = VecDeque::new();
460462
// mark one path as selected

0 commit comments

Comments
 (0)