summary refs log tree commit diff
path: root/src/libcore/uint-template/u8.rs
blob: bc73536c4a4072b86643483efab7cf426036f153 (plain)
1
2
3
4
5
6
type T = u8;

// 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 { ret 0 as T == x & 128 as T; }