From 86849c26ad34644b0ca59ec2b7a15b185790e43b Mon Sep 17 00:00:00 2001 From: Tait Hoyem Date: Wed, 29 Nov 2023 21:16:37 -0700 Subject: [PATCH] Cargo format --- src/stdnet/ext.rs | 3 ++- src/stdnet/mod.rs | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stdnet/ext.rs b/src/stdnet/ext.rs index 88d96ee..69eb9ee 100644 --- a/src/stdnet/ext.rs +++ b/src/stdnet/ext.rs @@ -640,7 +640,8 @@ impl AcceptAddrsBuf { } fn args(&self) -> (PVOID, DWORD, DWORD, DWORD) { - let remote_offset = unsafe { &(*std::ptr::null::()).remote as *const _ as usize }; + let remote_offset = + unsafe { &(*std::ptr::null::()).remote as *const _ as usize }; ( self as *const _ as *mut _, 0, diff --git a/src/stdnet/mod.rs b/src/stdnet/mod.rs index 83602bd..867bdb1 100644 --- a/src/stdnet/mod.rs +++ b/src/stdnet/mod.rs @@ -293,4 +293,3 @@ impl<'a> fmt::Display for AsciiEscaped<'a> { pub use self::ext::{AcceptAddrs, AcceptAddrsBuf, UnixListenerExt, UnixStreamExt}; pub use self::net::{UnixListener, UnixStream}; -