diff options
-rw-r--r-- | bindgen-integration/src/lib.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bindgen-integration/src/lib.rs b/bindgen-integration/src/lib.rs index 4f239510..5c4b4308 100644 --- a/bindgen-integration/src/lib.rs +++ b/bindgen-integration/src/lib.rs @@ -7,9 +7,7 @@ use std::ffi::CStr; #[test] fn test_static_method() { let c_str = unsafe { bindings::Test::name() }; - let name = unsafe { - CStr::from_ptr(c_str).to_string_lossy().into_owned() - }; + let name = unsafe { CStr::from_ptr(c_str).to_string_lossy().into_owned() }; assert_eq!(name, "Test", "Calling a static C++ method works!"); } |