You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-06-24 17:56:45 +02:00
Various small fixes (#1556)
Plus one more substantial comment on casting.
This commit is contained in:
@ -33,6 +33,7 @@ fn main() {
|
||||
}
|
||||
```
|
||||
|
||||
# `let else` expressions
|
||||
For the common case of matching a pattern and returning from the function, use
|
||||
[`let
|
||||
else`](https://doc.rust-lang.org/rust-by-example/flow_control/let_else.html).
|
||||
|
Reference in New Issue
Block a user