Skip to content

Commit

Permalink
Cargo format
Browse files Browse the repository at this point in the history
  • Loading branch information
TTWNO committed Nov 30, 2023
1 parent 8397306 commit 86849c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/stdnet/ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,8 @@ impl AcceptAddrsBuf {
}

fn args(&self) -> (PVOID, DWORD, DWORD, DWORD) {
let remote_offset = unsafe { &(*std::ptr::null::<AcceptAddrsBuf>()).remote as *const _ as usize };
let remote_offset =
unsafe { &(*std::ptr::null::<AcceptAddrsBuf>()).remote as *const _ as usize };
(
self as *const _ as *mut _,
0,
Expand Down
1 change: 0 additions & 1 deletion src/stdnet/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};

0 comments on commit 86849c2

Please sign in to comment.