Takashi Idobe
|
60946dd8c7
|
Add markdownlint to CI (#164)
|
2021-01-05 15:57:07 +01:00 |
|
Takashi Idobe
|
5f1425d7ed
|
Apply markdownlint to project (#163)
|
2021-01-05 15:36:20 +01:00 |
|
Andre Bogus
|
964dd9932b
|
Added comment to explain second example
|
2017-01-01 05:26:33 +01:00 |
|
Andre Bogus
|
d827cec092
|
Add another example to the mem::replace idiom
This fixes #38
|
2016-12-18 21:24:30 +01:00 |
|
diwic
|
5f484ad473
|
Change "".to_string() to String::new()
I mistakenly lost this change in my previous pull request, sorry!
|
2016-10-12 08:50:29 +02:00 |
|
Chris Wong
|
9d955043a4
|
Merge pull request #33 from partim/take-for-replace
Mention Option::take() as an alternative to mem::replace()
|
2016-10-10 21:58:42 +13:00 |
|
Martin Hoffmann
|
9fd6a8f9cf
|
Fix language.
|
2016-10-10 10:52:57 +02:00 |
|
diwic
|
490fb34bb2
|
Improve mem-replace example
Submitting a PR as suggested by llogiq [here](https://www.reddit.com/r/rust/comments/56l2pk/an_underused_idiom_memreplace_to_avoid_clones/d8kksx6)
|
2016-10-09 19:47:44 +02:00 |
|
Martin Hoffmann
|
618a65c337
|
Mention Option::take() as an alternative to mem::replace()
|
2016-10-09 13:39:26 +02:00 |
|
Andre Bogus
|
547ff18605
|
Adressed comments
|
2016-10-08 19:14:05 +02:00 |
|
Andre Bogus
|
31b282ad9f
|
new idiom: mem::replace
|
2016-10-08 08:51:31 +02:00 |
|