Sign in
fuchsia
/
third_party
/
rust
/
0.4
/
.
/
src
/
libcore
/
uint-template
/
u8.rs
blob: 539567a2cfd45fc0fa45dfc2737b906f3259b389 [
file
] [
log
] [
blame
]
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;
pub
pure
fn
is_ascii
(
x
:
T
)
->
bool
{
return
0
as
T
==
x
&
128
as
T
;
}