Sign in
rust
/
rust
/
refs/heads/lcnr/rustc-dev-guide
/
.
/
src
/
tools
/
miri
/
tests
/
pass
/
char.rs
blob: 5524f0ae7abea09409c637f924c81bc1e1c1e4b5 [
file
] [
log
] [
blame
] [
edit
]
fn
main
()
{
let
c
=
'x'
;
assert_eq
!(
c
,
'x'
);
assert
!(
'a'
<
'z'
);
assert
!(
'1'
<
'9'
);
assert_eq
!(
std
::
char
::
from_u32
(
'x'
as
u32
),
Some
(
'x'
));
}