This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
5 lines
64 B
Rust
5 lines
64 B
Rust
|
|
|
|
fn f() { let x: () = (); ret x; }
|
|
|
|
fn main() { let x = f(); }
|