2022-02-06 16:43:51 +08:00
|
|
|
fn main() {
|
|
|
|
// ANCHOR: here
|
|
|
|
let config_max = Some(3u8);
|
|
|
|
match config_max {
|
2024-06-06 21:23:21 +08:00
|
|
|
Some(max) => println!("The maximum is configured to be {max}"),
|
2022-02-06 16:43:51 +08:00
|
|
|
_ => (),
|
|
|
|
}
|
|
|
|
// ANCHOR_END: here
|
|
|
|
}
|