60ae1590af
And remove support for the old syntax
6 lines
100 B
Rust
6 lines
100 B
Rust
|
|
|
|
fn push<T: copy>(&v: [const T], t: T) { v += [t]; }
|
|
|
|
fn main() { let v = [1, 2, 3]; push(v, 1); }
|