Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
CTCm3 authored and Thomasdezeeuw committed Nov 1, 2021
1 parent 4cfa6de commit 5c7b03f
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions src/sys/unix.rs
Expand Up @@ -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(),
Expand Down

0 comments on commit 5c7b03f

Please sign in to comment.