5 lines
88 B
Rust
5 lines
88 B
Rust
|
|
fn f<T: copy>(x: ~T) -> ~T { return x; }
|
|
|
|
fn main() { let x = f(~3); log(debug, *x); }
|