Skip to content

Commit 70a5a93

Browse files
committed
Run rustfmt-nightly
1 parent e1da718 commit 70a5a93

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

tests/lib.rs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ extern crate netlib_src;
33

44
use libc::c_float;
55

6-
extern {
6+
extern "C" {
77
pub fn srotg_(a: *mut c_float, b: *mut c_float, c: *mut c_float, s: *mut c_float);
88
}
99

@@ -14,7 +14,12 @@ fn link() {
1414
let mut b: f32 = 0.0;
1515
let mut c: f32 = 42.0;
1616
let mut d: f32 = 42.0;
17-
srotg_(&mut a as *mut _, &mut b as *mut _, &mut c as *mut _, &mut d as *mut _);
17+
srotg_(
18+
&mut a as *mut _,
19+
&mut b as *mut _,
20+
&mut c as *mut _,
21+
&mut d as *mut _,
22+
);
1823
assert!(c == 1.0);
1924
assert!(d == 0.0);
2025
}

0 commit comments

Comments
 (0)