From 5c7b03f61ef9ddb21233a18f643d6b9367429c74 Mon Sep 17 00:00:00 2001 From: CTCm3 Date: Wed, 27 Oct 2021 11:42:22 +0300 Subject: [PATCH] formatting --- src/sys/unix.rs | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/src/sys/unix.rs b/src/sys/unix.rs index 5fb069d8..8a070681 100644 --- a/src/sys/unix.rs +++ b/src/sys/unix.rs @@ -1351,17 +1351,8 @@ impl crate::Socket { /// Sets the value for the `SO_SETFIB` option on this socket. /// /// Bind socket to the specified forwarding table (VRF) on a FreeBSD. - #[cfg(all( - feature = "all", - any(target_os = "freebsd") - ))] - #[cfg_attr( - docsrs, - doc(cfg(all( - feature = "all", - any(target_os = "freebsd") - ))) - )] + #[cfg(all(feature = "all", any(target_os = "freebsd")))] + #[cfg_attr(docsrs, doc(cfg(all(feature = "all", any(target_os = "freebsd")))))] pub fn set_fib(&self, fib: u32) -> io::Result<()> { syscall!(setsockopt( self.as_raw(),