Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactored while_some (libstd/option.rs)
The old 'while' needed to match 2 times for each iteration. With the new 'loop' there is just one match needed. I have also replaced 'blk' by 'f' to be more consistent with parameter names in other functions that are implemented for Option
- Loading branch information