diff --git a/wireguard-go-rs/src/lib.rs b/wireguard-go-rs/src/lib.rs index b598596bd3e0..b286bb96c1d9 100644 --- a/wireguard-go-rs/src/lib.rs +++ b/wireguard-go-rs/src/lib.rs @@ -6,13 +6,11 @@ //! //! The [`Tunnel`] type provides a safe Rust wrapper around the C FFI. -use core::{ - ffi::{c_char, CStr}, - mem::ManuallyDrop, - slice, -}; +use core::ffi::{c_char, CStr}; +use core::mem::ManuallyDrop; #[cfg(target_os = "windows")] use core::mem::MaybeUninit; +use core::slice; #[cfg(target_os = "windows")] use std::ffi::CString; use util::OnDrop;