diff options
Diffstat (limited to 'src/route.rs')
| -rw-r--r-- | src/route.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/route.rs b/src/route.rs index e603513..285d049 100644 --- a/src/route.rs +++ b/src/route.rs @@ -57,8 +57,7 @@ pub fn track_mount( description: &str, handler: windmark::handler::RouteResponse, ) { - (*ROUTES.lock().unwrap()) - .insert(route.to_string(), Route::new(description)); + (*ROUTES.lock().unwrap()).insert(route.to_string(), Route::new(description)); router.mount(route, handler); } |