cfdf193c46
Closes #1067
6 lines
97 B
Rust
6 lines
97 B
Rust
|
|
|
|
fn push<T>(&v: [mutable? T], t: T) { v += [t]; }
|
|
|
|
fn main() { let v = [1, 2, 3]; push(v, 1); }
|