mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-31 13:40:15 +03:00
8 lines
163 B
Rust
8 lines
163 B
Rust
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'));
|
|
}
|