update at 2020-09-10 18:04:49 by ehlxr
This commit is contained in:
parent
af12dad539
commit
f0b64dd81d
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user