aboutsummaryrefslogtreecommitdiff
path: root/src/router.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-04-03 03:16:09 +0000
committerFuwn <[email protected]>2023-04-03 03:16:09 +0000
commit52845bfd809332a090fb7941c5fb2478f228e5a2 (patch)
tree6e876d556073b21efd730247833e5a9a4823b520 /src/router.rs
parentrefactor(handler): move traits (diff)
downloadwindmark-52845bfd809332a090fb7941c5fb2478f228e5a2.tar.xz
windmark-52845bfd809332a090fb7941c5fb2478f228e5a2.zip
fix(context): clippy lints
Diffstat (limited to 'src/router.rs')
-rw-r--r--src/router.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/router.rs b/src/router.rs
index c0d7220..bd2eaf9 100644
--- a/src/router.rs
+++ b/src/router.rs
@@ -29,6 +29,7 @@ use tokio::io::{AsyncReadExt, AsyncWriteExt};
use url::Url;
use crate::{
+ context::{ErrorContext, HookContext, RouteContext},
handler::{
ErrorResponse,
Partial,
@@ -38,7 +39,6 @@ use crate::{
},
module::Module,
response::Response,
- context::{HookContext, ErrorContext, RouteContext},
};
macro_rules! or_error {