diff options
Diffstat (limited to '.trash/Using if let or let else matching.md')
-rw-r--r-- | .trash/Using if let or let else matching.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.trash/Using if let or let else matching.md b/.trash/Using if let or let else matching.md new file mode 100644 index 0000000..48d0bd2 --- /dev/null +++ b/.trash/Using if let or let else matching.md @@ -0,0 +1,3 @@ +We can use `if let` if we have a match expression with just one pattern/arm that we care about. +```rust +``` |