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.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/async.rs') diff --git a/examples/async.rs b/examples/async.rs index d803ad6..f2674f0 100644 --- a/examples/async.rs +++ b/examples/async.rs @@ -19,7 +19,7 @@ #[windmark::main] async fn main() -> Result<(), Box> { - let mut router = windmark::Router::new(); + let mut router = windmark::router::Router::new(); #[cfg(feature = "tokio")] let async_clicks = std::sync::Arc::new(tokio::sync::Mutex::new(0)); #[cfg(feature = "async-std")] @@ -35,7 +35,7 @@ async fn main() -> Result<(), Box> { *clicks += 1; - windmark::Response::success(*clicks) + windmark::response::Response::success(*clicks) } }); router.mount( -- cgit v1.2.3