518dc52f85
This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
2 lines
77 B
Rust
2 lines
77 B
Rust
fn main() { let x = fn (a: int) -> int { ret a + 1; }; assert (x(4) == 5); }
|