diff options
| author | Graydon Hoare <graydon@mozilla.com> | 2012-09-28 12:03:54 -0700 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2012-09-28 12:03:54 -0700 |
| commit | 0792ebe08af6fbf80d89eeb3ee23241dce05a5b7 (patch) | |
| tree | e025466b9e5526e53e1e4296b5944f10a669ac1d /src/libcore/core.rc | |
| parent | 3efe4997348110da45c4dad8254f73928638e3ff (diff) | |
Finish de-exporting int-template and the int modules.
Diffstat (limited to 'src/libcore/core.rc')
| -rw-r--r-- | src/libcore/core.rc | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/src/libcore/core.rc b/src/libcore/core.rc index 0e1530d3233..ea2645107cf 100644 --- a/src/libcore/core.rc +++ b/src/libcore/core.rc @@ -84,54 +84,38 @@ export private; // Built-in-type support modules /// Operations and constants for `int` -#[legacy_exports] #[path = "int-template"] mod int { - #[legacy_exports]; - use inst::{ pow }; - export pow; + pub use inst::{ pow }; #[path = "int.rs"] - #[legacy_exports] mod inst; } /// Operations and constants for `i8` -#[legacy_exports] #[path = "int-template"] mod i8 { - #[legacy_exports]; #[path = "i8.rs"] - #[legacy_exports] mod inst; } /// Operations and constants for `i16` -#[legacy_exports] #[path = "int-template"] mod i16 { - #[legacy_exports]; #[path = "i16.rs"] - #[legacy_exports] mod inst; } /// Operations and constants for `i32` -#[legacy_exports] #[path = "int-template"] mod i32 { - #[legacy_exports]; #[path = "i32.rs"] - #[legacy_exports] mod inst; } /// Operations and constants for `i64` -#[legacy_exports] #[path = "int-template"] mod i64 { - #[legacy_exports]; #[path = "i64.rs"] - #[legacy_exports] mod inst; } |
