aboutsummaryrefslogtreecommitdiff
path: root/src/module/asynchronous.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/module/asynchronous.rs')
-rw-r--r--src/module/asynchronous.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/module/asynchronous.rs b/src/module/asynchronous.rs
index 2459518..219f6c2 100644
--- a/src/module/asynchronous.rs
+++ b/src/module/asynchronous.rs
@@ -20,7 +20,7 @@ use crate::context::HookContext;
#[async_trait::async_trait]
pub trait AsyncModule: Send + Sync {
/// Called right after the module is attached.
- async fn on_attach(&mut self, _: &mut crate::Router) {}
+ async fn on_attach(&mut self, _: &mut crate::router::Router) {}
/// Called before a route is mounted.
async fn on_pre_route(&mut self, _: HookContext) {}