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); }
|