diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2016-12-22 12:47:00 +0100 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2016-12-23 11:40:55 +0100 |
commit | 1ad2821a83c44384946252cca97c4185399e8f4b (patch) | |
tree | c465520c62c8ce4d2cc6ca551c318b6fa9fcded2 | |
parent | f2099ad4d0c4d19fc75b1613dbc1e6ada2625c29 (diff) |
bindgen-integration: run `cargo fmt`
-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!"); } |