diff --git a/rust/lib.rs b/rust/lib.rs index 122743c..4b96379 100644 --- a/rust/lib.rs +++ b/rust/lib.rs @@ -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) + } }