update at 2020-09-10 18:04:49 by ehlxr
This commit is contained in:
@@ -568,7 +568,7 @@ fn main() {
|
|||||||
// println!("{:?}", bt);
|
// println!("{:?}", bt);
|
||||||
|
|
||||||
// ---------------------------
|
// ---------------------------
|
||||||
println!("---------------------------");
|
println!("------------if let 条件表达式---------------");
|
||||||
let favorite_color: Option<&str> = None;
|
let favorite_color: Option<&str> = None;
|
||||||
let is_tuesday = false;
|
let is_tuesday = false;
|
||||||
let age: Result<u8, _> = "34".parse();
|
let age: Result<u8, _> = "34".parse();
|
||||||
|
|||||||
Reference in New Issue
Block a user