1
Fork 0

librustc: Remove all uses of the Copy bound.

This commit is contained in:
Patrick Walton 2013-07-10 14:43:25 -07:00
parent 99d44d24c7
commit e20549ff19
94 changed files with 213 additions and 280 deletions

View file

@ -33,7 +33,7 @@ impl Eq for MyInt {
impl MyNum for MyInt;
fn f<T:Copy + MyNum>(x: T, y: T) -> (T, T, T) {
fn f<T:MyNum>(x: T, y: T) -> (T, T, T) {
return (x + y, x - y, x * y);
}