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/uint-template/u8.rs | |
| parent | 2f4ee891199d3dffd8382742f576c3e78081634e (diff) | |
| download | rust-94f7bf98f96a14fa14c45723a9e40f348ab9d655.tar.gz rust-94f7bf98f96a14fa14c45723a9e40f348ab9d655.zip | |
Finish de-exporting uint modules. Part of #3583.
Diffstat (limited to 'src/libcore/uint-template/u8.rs')
| -rw-r--r-- | src/libcore/uint-template/u8.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcore/uint-template/u8.rs b/src/libcore/uint-template/u8.rs index b7df2605db4..539567a2cfd 100644 --- a/src/libcore/uint-template/u8.rs +++ b/src/libcore/uint-template/u8.rs @@ -1,7 +1,7 @@ -type T = u8; -const bits: uint = 8; +pub type T = u8; +pub const bits: uint = 8; // Type-specific functions here. These must be reexported by the // parent module so that they appear in core::u8 and not core::u8::u8; -pure fn is_ascii(x: T) -> bool { return 0 as T == x & 128 as T; } +pub pure fn is_ascii(x: T) -> bool { return 0 as T == x & 128 as T; } |
