Skip to content

Commit 8771c83

Browse files
committed
Remove unnecessary parentheses
1 parent cb309a4 commit 8771c83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/npyffi/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ macro_rules! impl_api {
4141
#[allow(non_snake_case)]
4242
pub unsafe fn $fname(&self, $($arg : $t), *) $( -> $ret )* {
4343
let fptr = self.0.offset($offset)
44-
as (*const extern fn ($($arg : $t), *) $( -> $ret )* );
44+
as *const extern fn ($($arg : $t), *) $( -> $ret )*;
4545
(*fptr)($($arg), *)
4646
}
4747
}

0 commit comments

Comments
 (0)