You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
patterns/idioms
vent f78e3e3166
Talk about mem::take instead of mem::replace (#200)
* Talk about std::take instead of std::replace

* Mention mem::replace in mem::take idiom

* Fix example code so it can compile and execute

* Clarify the need for Default in disadvantages

* Update idioms/mem-take.md

* Add note tag to section on mem::replace

Co-authored-by: simonsan <14062932+simonsan@users.noreply.github.com>

* Follow on from previous paragraph in mem::take

* Change title to include mem::take

Co-authored-by: simonsan <14062932+simonsan@users.noreply.github.com>
4 years ago
..
coercion-arguments.md Fix typo ("anways" to "anyways") (#193) 4 years ago
concat-format.md Apply markdownlint to project (#163) 4 years ago
ctor.md Apply markdownlint to project (#163) 4 years ago
default.md Fix default idiom example (#134) 4 years ago
deref.md Apply markdownlint to project (#163) 4 years ago
dtor-finally.md Fix typo ("desctructors" to "destructors") (#195) 4 years ago
ffi-accepting-strings.md Fix lines to 150 line length for better tracking of future changes (#189) 4 years ago
ffi-errors.md Several FFI Sections: Strings, Errors, and API Design (#106) 4 years ago
ffi-intro.md Several FFI Sections: Strings, Errors, and API Design (#106) 4 years ago
ffi-passing-strings.md Fix lines to 150 line length for better tracking of future changes (#189) 4 years ago
index.md Fix lines to 150 line length for better tracking of future changes (#189) 4 years ago
mem-replace.md Talk about mem::take instead of mem::replace (#200) 4 years ago
on-stack-dyn-dispatch.md Apply markdownlint to project (#163) 4 years ago
option-iter.md Fix lines to 150 line length for better tracking of future changes (#189) 4 years ago
pass-var-to-closure.md Markdownlint: Do not allow tabs in code blocks (#178) 4 years ago
priv-extend.md Fix lines to 150 line length for better tracking of future changes (#189) 4 years ago
rustdoc-init.md Fix lines to 150 line length for better tracking of future changes (#189) 4 years ago
temporary-mutability.md Markdownlint: Do not allow tabs in code blocks (#178) 4 years ago