Comment Lines
// Using this, we can comment a line.
fn main(field a) -> field {
field b = a + 1 == 2 ? 1 : 3;
return b;
}fn sum(u32 a, u32 b) -> u32 {
/*
* Unlike rust, the return value of
* a function must be a combination of return and return value
*/
return a + b;
}Last updated