7 lines
157 B
Rust
7 lines
157 B
Rust
fn main() {
|
|
let arr = [1,2,3]/3;
|
|
let struc = {a: 13u8, b: arr, c: 42};
|
|
let s = sys::log_str(struc);
|
|
assert(s == ~"(13, [1, 2, 3]/3, 42)");
|
|
}
|