diff options
| author | Corey Richardson <corey@octayn.net> | 2013-04-25 01:38:44 -0400 |
|---|---|---|
| committer | Corey Richardson <corey@octayn.net> | 2013-04-25 01:38:44 -0400 |
| commit | d53e686f4f940ff87cc8bff3a2ebe81cc4022208 (patch) | |
| tree | a8740f66c3e48193fe63886d8f16c8cb54835be7 /src/libcore/tuple.rs | |
| parent | 1d53babd2f23439975518fda94d9122b15e779c9 (diff) | |
| download | rust-d53e686f4f940ff87cc8bff3a2ebe81cc4022208.tar.gz rust-d53e686f4f940ff87cc8bff3a2ebe81cc4022208.zip | |
Rename vec::mod2 to vec::mod_zip
Diffstat (limited to 'src/libcore/tuple.rs')
| -rw-r--r-- | src/libcore/tuple.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/tuple.rs b/src/libcore/tuple.rs index 8e908435f35..a2b6f0eb1a7 100644 --- a/src/libcore/tuple.rs +++ b/src/libcore/tuple.rs @@ -123,7 +123,7 @@ impl<'self,A:Copy,B:Copy> ExtendedTupleOps<A,B> for (&'self [A], &'self [B]) { fn map<C>(&self, f: &fn(a: &A, b: &B) -> C) -> ~[C] { match *self { (ref a, ref b) => { - vec::map2(*a, *b, f) + vec::map_zip(*a, *b, f) } } } @@ -144,7 +144,7 @@ impl<A:Copy,B:Copy> ExtendedTupleOps<A,B> for (~[A], ~[B]) { fn map<C>(&self, f: &fn(a: &A, b: &B) -> C) -> ~[C] { match *self { (ref a, ref b) => { - vec::map2(*a, *b, f) + vec::map_zip(*a, *b, f) } } } |
