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

This commit is contained in:
ehlxr 2020-09-10 18:04:49 +08:00
parent af12dad539
commit f0b64dd81d

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();