diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-09-07 14:52:28 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-09-07 18:10:11 -0700 |
| commit | 3bd1f32cd945fab63777b71ef76f23d758e2904c (patch) | |
| tree | 8035a0aa8bf9fa926484604074427146ec295b1d /src/libcore/tuple.rs | |
| parent | 07fe5611ade0e02109a5fa72881c6cd43bacbb29 (diff) | |
| download | rust-3bd1f32cd945fab63777b71ef76f23d758e2904c.tar.gz rust-3bd1f32cd945fab63777b71ef76f23d758e2904c.zip | |
Convert all kind bounds to camel case. Remove send, owned keywords.
Diffstat (limited to 'src/libcore/tuple.rs')
| -rw-r--r-- | src/libcore/tuple.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcore/tuple.rs b/src/libcore/tuple.rs index 2ab8af78b8a..4114adef8f0 100644 --- a/src/libcore/tuple.rs +++ b/src/libcore/tuple.rs @@ -12,7 +12,7 @@ trait TupleOps<T,U> { pure fn swap() -> (U, T); } -impl<T: copy, U: copy> (T, U): TupleOps<T,U> { +impl<T: Copy, U: Copy> (T, U): TupleOps<T,U> { /// Return the first element of self pure fn first() -> T { @@ -39,7 +39,7 @@ trait ExtendedTupleOps<A,B> { fn map<C>(f: fn(A, B) -> C) -> ~[C]; } -impl<A: copy, B: copy> (&[A], &[B]): ExtendedTupleOps<A,B> { +impl<A: Copy, B: Copy> (&[A], &[B]): ExtendedTupleOps<A,B> { fn zip() -> ~[(A, B)] { let (a, b) = self; @@ -52,7 +52,7 @@ impl<A: copy, B: copy> (&[A], &[B]): ExtendedTupleOps<A,B> { } } -impl<A: copy, B: copy> (~[A], ~[B]): ExtendedTupleOps<A,B> { +impl<A: Copy, B: Copy> (~[A], ~[B]): ExtendedTupleOps<A,B> { fn zip() -> ~[(A, B)] { // XXX: Bad copy |
