From 5b731405acf4129a2728c1c2636336f230f92137 Mon Sep 17 00:00:00 2001 From: Kyle Huey Date: Sat, 14 Aug 2021 17:32:44 -0700 Subject: [PATCH] Remove commented out failing check that shouldn't pass. --- test/sys/test_socket.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/sys/test_socket.rs b/test/sys/test_socket.rs index c09215090a..c43d0672ec 100644 --- a/test/sys/test_socket.rs +++ b/test/sys/test_socket.rs @@ -93,8 +93,6 @@ pub fn test_inetv6_addr_roundtrip_sockaddr_storage_to_addr() { let mut storage = MaybeUninit::::zeroed(); let storage_ptr = storage.as_mut_ptr().cast::(); let (ffi_ptr, ffi_size) = sockaddr.as_ffi_pair(); - // XXX this does not pass. - // assert_eq!(mem::size_of::(), ffi_size as usize); assert_eq!(mem::size_of::(), ffi_size as usize); unsafe { storage_ptr.copy_from_nonoverlapping((ffi_ptr as *const sockaddr).cast::(), 1);