Skip to content

Commit

Permalink
src: lib: web: Remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
joaoantoniocardoso committed Nov 14, 2024
1 parent ac8eedb commit e5511b3
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/lib/web/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,6 @@ pub async fn run(address: std::net::SocketAddrV4) {
}
}

pub fn configure_router<F>(modifier: F)
where
F: FnOnce(&mut Router),
{
let mut router = SERVER.router.lock().unwrap();
modifier(&mut router);
}

async fn shutdown_signal() {
let ctrl_c = async {
signal::ctrl_c()
Expand Down

0 comments on commit e5511b3

Please sign in to comment.