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

Add "Treating Option like a list" #25

Closed lambda-fairy closed 8 years ago

lambda-fairy commented 8 years ago

Not sure it's okay to reference a crates.io library, but the article would have been really short otherwise

nrc commented 8 years ago

@lfairy very sorry for letting this PR sit for so long - I put it off due to being busy and then it slipped my mind.

Thanks for submitting the PR and I hope to be much quicker with feedback in the future.

cc @cbreeden (if you have time to comment)

lambda-fairy commented 8 years ago

@nrc thanks for the feedback! I've pushed a new version that should fix the issues you brought up.

re-r?

nrc commented 8 years ago

looks great, thank you!