Skip to content

Commit

Permalink
One more fmt complaint
Browse files Browse the repository at this point in the history
  • Loading branch information
Pietroro committed Jan 14, 2025
1 parent 091b1e8 commit 028f3aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bgpsim/src/interactive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ impl<P: Prefix, Q: EventQueue<P>, Ospf: OspfImpl> InteractiveNetwork<P, Q, Ospf>

// Straddle the trigger_event function with the pre- and post-event hooks
f(net, &event_clone, None);
// Safety: This is safe because we are allowing the network to eventually
// Safety: This is safe because we are allowing the network to eventually
// converge by exhausing all events in the queue. The extracted events are
// all immutable and won't be modified.
let result = unsafe { net.trigger_event(event)? };
Expand Down

0 comments on commit 028f3aa

Please sign in to comment.