more clippy

This commit is contained in:
Christien Rioux
2023-09-18 15:22:40 -04:00
parent c7d4462e0e
commit f596b3ce05
32 changed files with 839 additions and 853 deletions

View File

@@ -141,10 +141,10 @@ impl RouteSpecStore {
dr
};
let update = VeilidUpdate::RouteChange(VeilidRouteChange {
let update = VeilidUpdate::RouteChange(Box::new(VeilidRouteChange {
dead_routes,
dead_remote_routes,
});
}));
let update_callback = self.unlocked_inner.routing_table.update_callback();
update_callback(update);