5 lines
65 B
Rust
5 lines
65 B
Rust
fn main() {
|
|
let i = ~mut 0;
|
|
*i = 1;
|
|
assert *i == 1;
|
|
} |