We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 299c2e5 commit 4f717edCopy full SHA for 4f717ed
tests/socket.rs
@@ -446,9 +446,9 @@ where
446
socket.as_raw_socket() as _,
447
WinSock::SIO_GET_MULTIPLE_EXTENSION_FUNCTION_POINTER,
448
(&guid as *const GUID) as *const _,
449
- size_of_val(&guid) as u32,
+ mem::size_of_val(&guid) as u32,
450
table.as_mut_ptr() as *mut _,
451
- size_of_val(&table) as u32,
+ mem::size_of_val(&table) as u32,
452
(&mut bytes as *mut i32) as *mut _,
453
ptr::null_mut(),
454
None,
0 commit comments