diff options
| author | Graydon Hoare <graydon@mozilla.com> | 2012-09-28 14:54:25 -0700 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2012-09-28 14:54:39 -0700 |
| commit | 94f7bf98f96a14fa14c45723a9e40f348ab9d655 (patch) | |
| tree | c6c3cb6baf0ca42d80b0f1e33116ffa6fba98404 /src/libcore/core.rc | |
| parent | 2f4ee891199d3dffd8382742f576c3e78081634e (diff) | |
Finish de-exporting uint modules. Part of #3583.
Diffstat (limited to 'src/libcore/core.rc')
| -rw-r--r-- | src/libcore/core.rc | 23 |
1 files changed, 2 insertions, 21 deletions
diff --git a/src/libcore/core.rc b/src/libcore/core.rc index 21a9de756b1..e2c43bf8121 100644 --- a/src/libcore/core.rc +++ b/src/libcore/core.rc @@ -120,62 +120,43 @@ mod i64 { } /// Operations and constants for `uint` -#[legacy_exports] #[path = "uint-template"] mod uint { - #[legacy_exports]; - use inst::{ + pub use inst::{ div_ceil, div_round, div_floor, iterate, next_power_of_two }; - export div_ceil, div_round, div_floor, iterate, - next_power_of_two; - #[path = "uint.rs"] - #[legacy_exports] mod inst; } /// Operations and constants for `u8` -#[legacy_exports] #[path = "uint-template"] mod u8 { - #[legacy_exports]; - use inst::is_ascii; - export is_ascii; + pub use inst::is_ascii; #[path = "u8.rs"] - #[legacy_exports] mod inst; } /// Operations and constants for `u16` -#[legacy_exports] #[path = "uint-template"] mod u16 { - #[legacy_exports]; #[path = "u16.rs"] - #[legacy_exports] mod inst; } /// Operations and constants for `u32` -#[legacy_exports] #[path = "uint-template"] mod u32 { - #[legacy_exports]; #[path = "u32.rs"] - #[legacy_exports] mod inst; } /// Operations and constants for `u64` -#[legacy_exports] #[path = "uint-template"] mod u64 { - #[legacy_exports]; #[path = "u64.rs"] - #[legacy_exports] mod inst; } |
