diff options
author | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2021-01-13 18:10:04 +0100 |
---|---|---|
committer | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2021-01-13 18:10:52 +0100 |
commit | 7d84ef9064559a29b23ab86036f7ef62b450f90c (patch) | |
tree | 9a849e0b80218125b007420d7d472665b1619c4e /src/platform/tun.rs | |
parent | Upgrade dependencies (diff) | |
download | wireguard-rs-master.tar.xz wireguard-rs-master.zip |
Signed-off-by: Mathias Hall-Andersen <mathias@hall-andersen.dk>
Diffstat (limited to 'src/platform/tun.rs')
-rw-r--r-- | src/platform/tun.rs | 1 |
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>; } |