diff options
author | metamuffin <metamuffin@disroot.org> | 2024-06-10 17:21:53 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-06-10 17:21:53 +0200 |
commit | c88d6e280a669eca44b8331b8731cf5fc933a957 (patch) | |
tree | f089a5402808a281a13be7b58593aaa829c8e109 /src/modules/hosts.rs | |
parent | 6d0bac25aa3f118de34a9f05d939f60d80f550a5 (diff) | |
download | gnix-c88d6e280a669eca44b8331b8731cf5fc933a957.tar gnix-c88d6e280a669eca44b8331b8731cf5fc933a957.tar.bz2 gnix-c88d6e280a669eca44b8331b8731cf5fc933a957.tar.zst |
clippy
Diffstat (limited to 'src/modules/hosts.rs')
-rw-r--r-- | src/modules/hosts.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/hosts.rs b/src/modules/hosts.rs index 286d478..7ad7481 100644 --- a/src/modules/hosts.rs +++ b/src/modules/hosts.rs @@ -32,7 +32,7 @@ impl Node for Hosts { .and_then(|e| e.to_str().ok()) .ok_or(ServiceError::NoHost)?; - let host = remove_port(&host); + let host = remove_port(host); let node = self.0.get(host).ok_or(ServiceError::UnknownHost)?; node.handle(context, request).await |