Skip to content

Commit fd8e7aa

Browse files
committed
De-export bool, tuple, unit, uniq. Part of #3583.
1 parent 43a9d90 commit fd8e7aa

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

src/libcore/core.rc

-4
Original file line numberDiff line numberDiff line change
@@ -175,13 +175,9 @@ mod ptr;
175175
#[legacy_exports]
176176
mod vec;
177177
mod at_vec;
178-
#[legacy_exports]
179178
mod bool;
180-
#[legacy_exports]
181179
mod tuple;
182-
#[legacy_exports]
183180
mod unit;
184-
#[legacy_exports]
185181
mod uniq;
186182

187183
// Ubiquitous-utility-type modules

src/libcore/tuple.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
77
use cmp::{Eq, Ord};
88

9-
trait TupleOps<T,U> {
9+
pub trait TupleOps<T,U> {
1010
pure fn first() -> T;
1111
pure fn second() -> U;
1212
pure fn swap() -> (U, T);
@@ -34,7 +34,7 @@ impl<T: Copy, U: Copy> (T, U): TupleOps<T,U> {
3434

3535
}
3636

37-
trait ExtendedTupleOps<A,B> {
37+
pub trait ExtendedTupleOps<A,B> {
3838
fn zip(&self) -> ~[(A, B)];
3939
fn map<C>(&self, f: &fn(a: &A, b: &B) -> C) -> ~[C];
4040
}

0 commit comments

Comments
 (0)