518dc52f85
This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
10 lines
120 B
Rust
10 lines
120 B
Rust
|
|
|
|
|
|
// -*- rust -*-
|
|
fn main() {
|
|
let word: u32 = 200000u32;
|
|
word = word - 1u32;
|
|
assert (word == 199999u32);
|
|
}
|