aboutsummaryrefslogtreecommitdiffstats
path: root/src/platform/tun.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/tun.rs
parentUpgrade dependencies (diff)
downloadwireguard-rs-7d84ef9064559a29b23ab86036f7ef62b450f90c.tar.xz
wireguard-rs-7d84ef9064559a29b23ab86036f7ef62b450f90c.zip
Allows for erroneous Clippy lintsHEADmaster
Signed-off-by: Mathias Hall-Andersen <mathias@hall-andersen.dk>
Diffstat (limited to 'src/platform/tun.rs')
-rw-r--r--src/platform/tun.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/platform/tun.rs b/src/platform/tun.rs
index 801754e..38c95bf 100644
--- a/src/platform/tun.rs
+++ b/src/platform/tun.rs
@@ -58,5 +58,6 @@ pub trait Tun: Send + Sync + 'static {
pub trait PlatformTun: Tun {
type Status: Status;
+ #[allow(clippy::type_complexity)]
fn create(name: &str) -> Result<(Vec<Self::Reader>, Self::Writer, Self::Status), Self::Error>;
}