update at 2020-09-10 18:04:49 by ehlxr

master
ehlxr 2020-09-10 18:04:49 +08:00
parent af12dad539
commit f0b64dd81d
1 changed files with 1 additions and 1 deletions

View File

@ -568,7 +568,7 @@ fn main() {
// println!("{:?}", bt);
// ---------------------------
println!("---------------------------");
println!("------------if let 条件表达式---------------");
let favorite_color: Option<&str> = None;
let is_tuesday = false;
let age: Result<u8, _> = "34".parse();