aboutsummaryrefslogtreecommitdiffstats
path: root/src/platform/udp.rs
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2021-01-13 18:10:04 +0100
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2021-01-13 18:10:52 +0100
commit7d84ef9064559a29b23ab86036f7ef62b450f90c (patch)
tree9a849e0b80218125b007420d7d472665b1619c4e /src/platform/udp.rs
parentUpgrade dependencies (diff)
downloadwireguard-rs-master.tar.xz
wireguard-rs-master.zip
Allows for erroneous Clippy lintsHEADmaster
Signed-off-by: Mathias Hall-Andersen <mathias@hall-andersen.dk>
Diffstat (limited to '')
-rw-r--r--src/platform/udp.rs1
1 files changed, 1 insertions, 0 deletions
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::Reader>, Self::Writer, Self::Owner), Self::Error>;
}