From 7752e57e27e0d03c05ee86e75d82ffbd04a9ce48 Mon Sep 17 00:00:00 2001 From: Zhang Jingqiang Date: Wed, 23 Oct 2024 18:34:22 +0800 Subject: [PATCH] g3-socket: drop useless cfg guard --- lib/g3-socket/src/raw/unix.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/g3-socket/src/raw/unix.rs b/lib/g3-socket/src/raw/unix.rs index 09e543a14..9e8c6529d 100644 --- a/lib/g3-socket/src/raw/unix.rs +++ b/lib/g3-socket/src/raw/unix.rs @@ -20,7 +20,6 @@ use socket2::Socket; use super::RawSocket; -#[cfg(unix)] impl Drop for RawSocket { fn drop(&mut self) { if let Some(s) = self.inner.take() {