Test code syntax highlight
fn factorial(n: u64) -> u64 {
match n {
0 => 1,
_ => n * factorial(n-1)
}
}
const sum = (n: number) => n * (n + 1) / 2
fn factorial(n: u64) -> u64 {
match n {
0 => 1,
_ => n * factorial(n-1)
}
}
const sum = (n: number) => n * (n + 1) / 2