From 7d84ef9064559a29b23ab86036f7ef62b450f90c Mon Sep 17 00:00:00 2001 From: Mathias Hall-Andersen Date: Wed, 13 Jan 2021 18:10:04 +0100 Subject: Allows for erroneous Clippy lints Signed-off-by: Mathias Hall-Andersen --- src/platform/udp.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/platform/udp.rs') diff --git a/src/platform/udp.rs b/src/platform/udp.rs index 4098b10..0b9c823 100644 --- a/src/platform/udp.rs +++ b/src/platform/udp.rs @@ -41,5 +41,6 @@ pub trait PlatformUDP: UDP { /// Bind to a new port, returning the reader/writer and /// an associated instance of the owner type, which closes the UDP socket upon "drop" /// and enables configuration of the fwmark value. + #[allow(clippy::type_complexity)] fn bind(port: u16) -> Result<(Vec, Self::Writer, Self::Owner), Self::Error>; } -- cgit v1.2.3-59-g8ed1b