This commit is contained in:
George Thomas 2026-03-25 15:08:56 +00:00
parent a06f3076c7
commit 111b65c708

View File

@ -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)
}
}