mirror of
https://github.com/KaiserY/trpl-zh-cn
synced 2025-02-24 05:13:29 +08:00
10 lines
208 B
Rust
10 lines
208 B
Rust
fn main() {
|
|
// ANCHOR: here
|
|
let config_max = Some(3u8);
|
|
match config_max {
|
|
Some(max) => println!("The maximum is configured to be {max}"),
|
|
_ => (),
|
|
}
|
|
// ANCHOR_END: here
|
|
}
|