From d66da17c17239408f2ddbc2794621e2d947056a3 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Fri, 5 May 2023 01:33:55 +0000 Subject: feat(windmark): prelude feature flag --- examples/async_stateful_module.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/async_stateful_module.rs') diff --git a/examples/async_stateful_module.rs b/examples/async_stateful_module.rs index 3c35486..e19eb69 100644 --- a/examples/async_stateful_module.rs +++ b/examples/async_stateful_module.rs @@ -17,7 +17,7 @@ //! `cargo run --example async_stateful_module --features response-macros` -use windmark::{context::HookContext, Router}; +use windmark::{context::HookContext, router::Router}; #[derive(Default)] struct Clicker { @@ -25,7 +25,7 @@ struct Clicker { } #[async_trait::async_trait] -impl windmark::AsyncModule for Clicker { +impl windmark::module::AsyncModule for Clicker { async fn on_attach(&mut self, _router: &mut Router) { println!("module 'clicker' has been attached!"); } -- cgit v1.2.3