diff options
| author | Fuwn <[email protected]> | 2023-04-03 03:05:27 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-04-03 03:05:27 +0000 |
| commit | 3026e341f871ffdaa7b6a69703ca63eef2b67fd7 (patch) | |
| tree | ecdaf57aa6e39cdfc56659813d6b65335f6f512e /src/router.rs | |
| parent | refactor(handler): move traits (diff) | |
| download | windmark-3026e341f871ffdaa7b6a69703ca63eef2b67fd7.tar.xz windmark-3026e341f871ffdaa7b6a69703ca63eef2b67fd7.zip | |
refactor(returnable): seperate contexts
Diffstat (limited to 'src/router.rs')
| -rw-r--r-- | src/router.rs | 4 |
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 { |