/src/test/run-pass/generic-ivec.rs
http://github.com/jruderman/rust · Rust · 3 lines · 2 code · 1 blank · 0 comment · 0 complexity · 4f84f0d1d05fd493c7e1293963388499 MD5 · raw file
- fn f<T>(v: @T) { }
- fn main() { f(@~[1, 2, 3, 4, 5]); }
http://github.com/jruderman/rust · Rust · 3 lines · 2 code · 1 blank · 0 comment · 0 complexity · 4f84f0d1d05fd493c7e1293963388499 MD5 · raw file
- fn f<T>(v: @T) { }
- fn main() { f(@~[1, 2, 3, 4, 5]); }