#005
Jan 2022
5. Loop breaks and labels
Breaks and labels in loops?
IT is possible to use a label to specify which enclosing loop is affected.
| |
Breaks and labels in loops?
IT is possible to use a label to specify which enclosing loop is affected.
| |
Convert Option to Result easily.
| |
Convert Result to Option easily.
| |
Use @ to bind a pattern to a name.
| |
| |
| |
Need to check if an expression matches certain pattern?
| |
The example above checks if len is 0 or 1.
Or
| |
Hello and welcome to rustbites.com
| |
explanation and details