From e6a48a20fe4d654225b13faaa4d42cba53eda7cb Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Sat, 17 Jun 2023 22:53:57 +0200 Subject: [PATCH] Fix formatting. --- .../tests/libclang-5/issue-2556.rs | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/bindgen-tests/tests/expectations/tests/libclang-5/issue-2556.rs b/bindgen-tests/tests/expectations/tests/libclang-5/issue-2556.rs index 7722b851e2..f3dedac8ac 100644 --- a/bindgen-tests/tests/expectations/tests/libclang-5/issue-2556.rs +++ b/bindgen-tests/tests/expectations/tests/libclang-5/issue-2556.rs @@ -14,22 +14,24 @@ pub mod root { const UNINIT: ::std::mem::MaybeUninit = ::std::mem::MaybeUninit::uninit(); let ptr = UNINIT.as_ptr(); assert_eq!( - ::std::mem::size_of:: < nsSize > (), 8usize, concat!("Size of: ", - stringify!(nsSize)) + ::std::mem::size_of:: < nsSize > (), + 8usize, + concat!("Size of: ", stringify!(nsSize)), ); assert_eq!( - ::std::mem::align_of:: < nsSize > (), 4usize, concat!("Alignment of ", - stringify!(nsSize)) + ::std::mem::align_of:: < nsSize > (), + 4usize, + concat!("Alignment of ", stringify!(nsSize)), ); assert_eq!( unsafe { ::std::ptr::addr_of!((* ptr).width) as usize - ptr as usize }, - 0usize, concat!("Offset of field: ", stringify!(nsSize), "::", - stringify!(width)) + 0usize, + concat!("Offset of field: ", stringify!(nsSize), "::", stringify!(width)), ); assert_eq!( unsafe { ::std::ptr::addr_of!((* ptr).height) as usize - ptr as usize }, - 4usize, concat!("Offset of field: ", stringify!(nsSize), "::", - stringify!(height)) + 4usize, + concat!("Offset of field: ", stringify!(nsSize), "::", stringify!(height)), ); } pub mod foo {