aboutsummaryrefslogtreecommitdiff
path: root/src/route.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/route.rs')
-rw-r--r--src/route.rs4
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));