diff --git a/tokio/src/net/unix/listener.rs b/tokio/src/net/unix/listener.rs index 5a937b25c..9755017e7 100644 --- a/tokio/src/net/unix/listener.rs +++ b/tokio/src/net/unix/listener.rs @@ -119,7 +119,10 @@ impl UnixListener { /// These flags replace any epoll flags would normally set when registering the fd. #[track_caller] #[cfg(all(target_os = "linux", tokio_unstable))] - pub fn from_std_with_flags(listener: net::UnixListener, flags: u32) -> io::Result { + pub fn from_std_with_flags( + listener: net::UnixListener, + flags: u32, + ) -> io::Result { let io = mio::net::UnixListener::from_std(listener); let io = PollEvented::new_raw(io, flags)?; Ok(UnixListener { io })