diff options
Diffstat (limited to 'src/libcore/vec.rs')
| -rw-r--r-- | src/libcore/vec.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/vec.rs b/src/libcore/vec.rs index 680eb1e2dcb..5242505565a 100644 --- a/src/libcore/vec.rs +++ b/src/libcore/vec.rs @@ -1480,14 +1480,14 @@ impl<T: Ord> @[T]: Ord { } #[cfg(notest)] -impl<T: copy> ~[T]: add<&[const T],~[T]> { +impl<T: copy> ~[T]: Add<&[const T],~[T]> { #[inline(always)] pure fn add(rhs: &[const T]) -> ~[T] { append(copy self, rhs) } } -impl<T: copy> ~[mut T]: add<&[const T],~[mut T]> { +impl<T: copy> ~[mut T]: Add<&[const T],~[mut T]> { #[inline(always)] pure fn add(rhs: &[const T]) -> ~[mut T] { append_mut(self, rhs) |
