518dc52f85
This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
11 lines
168 B
Rust
11 lines
168 B
Rust
use std;
|
|
import std::str::*;
|
|
import std::uint::*;
|
|
|
|
fn main() {
|
|
let a: uint = 1u;
|
|
let b: uint = 4u;
|
|
check (le(a, b));
|
|
log safe_slice("kitties", a, b);
|
|
}
|