1
0
mirror of https://github.com/KaiserY/trpl-zh-cn synced 2025-04-14 15:38:48 +08:00
trpl-zh-cn/listings/ch03-common-programming-concepts/no-listing-08-boolean/src/main.rs

6 lines
91 B
Rust
Raw Normal View History

2022-02-06 16:43:51 +08:00
fn main() {
let t = true;
let f: bool = false; // with explicit type annotation
2022-02-06 16:43:51 +08:00
}