diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2016-02-25 04:21:11 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2016-02-25 04:21:11 +0530 |
| commit | b660ca59ff16bc4bfb675fa6afe61b32aa284d96 (patch) | |
| tree | b86509358be85838e2c677348bb476a981327f6b /src/libstd/sys/unix/stack_overflow.rs | |
| parent | a834cd1b70aecdc71b7fc4f9ff127ecaf1b2258d (diff) | |
| parent | 7042c8ef8d8242b96bbf9efd2a7de472a3b71e05 (diff) | |
| download | rust-b660ca59ff16bc4bfb675fa6afe61b32aa284d96.tar.gz rust-b660ca59ff16bc4bfb675fa6afe61b32aa284d96.zip | |
Rollup merge of #31870 - ivan:filter-explain, r=steveklabnik
As a Rust newbie, I found the book's explanation for why the `filter` closure gets a reference very confusing, and tried to figure out why `filter` is somehow less consumptive than `map` -- but it isn't; that's controlled by `iter`/`into_iter`. I flailed around for a while until @habnabit explained it to me, and in retrospect it is quite obvious :-)
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
