diff options
| author | Marvin Löbel <loebel.marvin@gmail.com> | 2013-04-23 11:08:13 +0200 |
|---|---|---|
| committer | Marvin Löbel <loebel.marvin@gmail.com> | 2013-04-24 22:26:09 +0200 |
| commit | dd748079574197215da46ac164f16a392df9cc26 (patch) | |
| tree | dc080a272f782c967a375056d48de94eb48be56b /src/libcore/num | |
| parent | e26f992d5e199a1ff8c26733650d254d63be066a (diff) | |
| download | rust-dd748079574197215da46ac164f16a392df9cc26.tar.gz rust-dd748079574197215da46ac164f16a392df9cc26.zip | |
Removed ascii functions from other modules
Replaced str::to_lowercase and str::to_uppercase
Diffstat (limited to 'src/libcore/num')
| -rw-r--r-- | src/libcore/num/uint-template/u8.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/libcore/num/uint-template/u8.rs b/src/libcore/num/uint-template/u8.rs index ce23bebacda..5c548d72093 100644 --- a/src/libcore/num/uint-template/u8.rs +++ b/src/libcore/num/uint-template/u8.rs @@ -10,16 +10,9 @@ //! Operations and constants for `u8` -pub use self::inst::is_ascii; - mod inst { pub type T = u8; #[allow(non_camel_case_types)] pub type T_SIGNED = i8; pub static 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; - - pub fn is_ascii(x: T) -> bool { return 0 as T == x & 128 as T; } } |
