mirror of
https://github.com/rust-unofficial/patterns
synced 2024-11-04 18:00:27 +00:00
69de2351f2
Change the match guard to be part of the pattern. Change `"".to_string()` to a more idiomatic `String::new()` to create a new `String` without memory allocation. |
||
---|---|---|
.. | ||
concat-format.md | ||
ctor.md | ||
deref.md | ||
dtor-finally.md | ||
mem-replace.md | ||
option-iter.md | ||
pass-var-to-closure.md | ||
priv-extend.md |