diff options
| author | Fuwn <[email protected]> | 2023-05-17 02:12:20 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-05-17 02:12:20 -0700 |
| commit | 0bc4ac8ba3a16aed491c3260d51406685cde2408 (patch) | |
| tree | 164df292848c8ba9197ffb1607a7fa1ddcad37ed /src/route.rs | |
| parent | chore(tasks): simplify formatter (diff) | |
| download | locus-0bc4ac8ba3a16aed491c3260d51406685cde2408.tar.xz locus-0bc4ac8ba3a16aed491c3260d51406685cde2408.zip | |
deps(windmark): bump to 0.3.9
Diffstat (limited to 'src/route.rs')
| -rw-r--r-- | src/route.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/route.rs b/src/route.rs index e32cd98..7237fec 100644 --- a/src/route.rs +++ b/src/route.rs @@ -56,13 +56,13 @@ pub fn hits_from(route: &str) -> i32 { } pub fn track_mount<F, R>( - router: &mut windmark::Router, + router: &mut windmark::router::Router, route: &str, description: &str, handler: F, ) where F: FnMut(RouteContext) -> R + Send + Sync + 'static, - R: IntoFuture<Output = windmark::Response> + Send + 'static, + R: IntoFuture<Output = windmark::response::Response> + Send + 'static, <R as IntoFuture>::IntoFuture: Send, { (*ROUTES.lock().unwrap()).insert(route.to_string(), Route::new(description)); |