Skip to content

Commit 91eeb6e

Browse files
committed
Cargo fmt
1 parent 6c65616 commit 91eeb6e

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

src/conv.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,4 +186,4 @@ macro_rules! with_args {
186186
( $args:ty, $ty:ty ) => {
187187
<$ty as $crate::WithArgs<$args>>::F
188188
};
189-
}
189+
}

tests/static.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,3 @@ fn non_static_argument_does_not_implement_static_fn_ptr() {
1818
type F = fn(&i32);
1919
assert_not_impl_all!(F: StaticFnPtr);
2020
}
21-

tests/with_args.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ use static_assertions::assert_type_eq_all;
55
#[test]
66
fn with_args_changes_args_preserving_output_safety_and_abi() {
77
type F = unsafe extern "C" fn(i32) -> f64;
8-
assert_type_eq_all!(with_args!((u8, u16), F), unsafe extern "C" fn(u8, u16) -> f64);
8+
assert_type_eq_all!(
9+
with_args!((u8, u16), F),
10+
unsafe extern "C" fn(u8, u16) -> f64
11+
);
912
}
1013

1114
#[test]

0 commit comments

Comments
 (0)