Something went wrong. Try again.
Something went wrong. Try again.
147 B · 10 lines
at runtime
1234567891011struct Rect { width: int, height: int}
fn main(): int { let r = Rect { width: 10, height: 5 }; let a = r.area(); return a;}