aboutsummaryrefslogtreecommitdiff
path: root/src/context
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/context
parentrefactor(handler): move traits (diff)
downloadwindmark-52845bfd809332a090fb7941c5fb2478f228e5a2.tar.xz
windmark-52845bfd809332a090fb7941c5fb2478f228e5a2.zip
fix(context): clippy lints
Diffstat (limited to 'src/context')
-rw-r--r--src/context/error.rs1
-rw-r--r--src/context/hook.rs1
-rw-r--r--src/context/route.rs1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/context/error.rs b/src/context/error.rs
index 3b3fd5e..eb1e00e 100644
--- a/src/context/error.rs
+++ b/src/context/error.rs
@@ -20,6 +20,7 @@ use openssl::x509::X509;
use tokio::net::TcpStream;
use url::Url;
+#[allow(clippy::module_name_repetitions)]
pub struct ErrorContext<'a> {
pub tcp: &'a TcpStream,
pub url: &'a Url,
diff --git a/src/context/hook.rs b/src/context/hook.rs
index 00cd9d8..44804fa 100644
--- a/src/context/hook.rs
+++ b/src/context/hook.rs
@@ -21,6 +21,7 @@ use openssl::x509::X509;
use tokio::net::TcpStream;
use url::Url;
+#[allow(clippy::module_name_repetitions)]
pub struct HookContext<'a> {
pub tcp: &'a TcpStream,
pub url: &'a Url,
diff --git a/src/context/route.rs b/src/context/route.rs
index beaf45f..61eca0c 100644
--- a/src/context/route.rs
+++ b/src/context/route.rs
@@ -21,6 +21,7 @@ use openssl::x509::X509;
use tokio::net::TcpStream;
use url::Url;
+#[allow(clippy::module_name_repetitions)]
pub struct RouteContext<'a> {
pub tcp: &'a TcpStream,
pub url: &'a Url,