patterns/idioms
CasualX 69de2351f2 Fix a few nits with the replace idiom.
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.
2016-10-09 15:35:57 +02:00
..
concat-format.md Add the extensibility by privacy pattern 2015-12-09 10:59:30 +13:00
ctor.md link ctor -> builder 2015-10-15 15:12:37 +13:00
deref.md Deref polymorphism anti-pattern 2015-11-01 21:31:24 -05:00
dtor-finally.md improve comment 2015-10-28 09:09:57 +08:00
mem-replace.md Fix a few nits with the replace idiom. 2016-10-09 15:35:57 +02:00
option-iter.md Iterating over an Option 2016-09-29 23:52:13 +13:00
pass-var-to-closure.md Small title fix 2016-09-27 16:01:35 +13:00
priv-extend.md Add the extensibility by privacy pattern 2015-12-09 10:59:30 +13:00