format
This commit is contained in:
parent
a06f3076c7
commit
111b65c708
@ -90,5 +90,7 @@ extern "C" fn sum_slice(v: *const i64, s: usize) -> i64 {
|
||||
|
||||
#[unsafe(no_mangle)]
|
||||
extern "C" fn print_optional(x: Option<&i8>) {
|
||||
if let Some(x) = x { println!("{}", x / 2) }
|
||||
if let Some(x) = x {
|
||||
println!("{}", x / 2)
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user