rust-unofficial / patterns

A catalogue of Rust design patterns, anti-patterns and idioms
https://rust-unofficial.github.io/patterns/
Mozilla Public License 2.0
8.11k stars 375 forks source link

Mention Option::take() as an alternative to mem::replace() #33

Closed partim closed 8 years ago

partim commented 8 years ago

I’m not sure if this mention should go in the Motivation or Discussion sections. Since Option is being mentioned in the Motivation, however, I added it right there.

lambda-fairy commented 8 years ago

:+1: