aboutsummaryrefslogtreecommitdiff
path: root/src/router.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-04-03 03:05:27 +0000
committerFuwn <[email protected]>2023-04-03 03:05:27 +0000
commit3026e341f871ffdaa7b6a69703ca63eef2b67fd7 (patch)
treeecdaf57aa6e39cdfc56659813d6b65335f6f512e /src/router.rs
parentrefactor(handler): move traits (diff)
downloadwindmark-3026e341f871ffdaa7b6a69703ca63eef2b67fd7.tar.xz
windmark-3026e341f871ffdaa7b6a69703ca63eef2b67fd7.zip
refactor(returnable): seperate contexts
Diffstat (limited to 'src/router.rs')
-rw-r--r--src/router.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/router.rs b/src/router.rs
index 5c1fcfa..0862513 100644
--- a/src/router.rs
+++ b/src/router.rs
@@ -38,7 +38,7 @@ use crate::{
},
module::Module,
response::Response,
- returnable::{CallbackContext, ErrorContext, RouteContext},
+ context::{CallbackContext, ErrorContext, RouteContext},
};
macro_rules! or_error {
@@ -653,7 +653,7 @@ impl Router {
///
/// ```rust
/// use log::info;
- /// use windmark::{returnable::CallbackContext, Response, Router};
+ /// use windmark::{context::CallbackContext, Response, Router};
///
/// #[derive(Default)]
/// struct Clicker {