This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
5 lines
59 B
Rust
5 lines
59 B
Rust
|
|
|
|
|
|
// -*- rust -*-
|
|
fn main() { let x: uint = 10 as uint; }
|