diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-03-26 09:05:47 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-26 09:05:47 +0100 |
| commit | 0616b73c2fbe019e3c9273ab10cdf2ef16a78df1 (patch) | |
| tree | bf898498d8ae94f6e6e21a9b517ec7790d174254 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | e132e43e85fed008be31d813f13c041fc8b0551b (diff) | |
| parent | 0e83e96852e9aacde2bf633bb17b293910073812 (diff) | |
| download | rust-0616b73c2fbe019e3c9273ab10cdf2ef16a78df1.tar.gz rust-0616b73c2fbe019e3c9273ab10cdf2ef16a78df1.zip | |
Rollup merge of #59362 - pnkfelix:demo-from-iterator-short-circuiting, r=Centril
Demo `FromIterator` short-circuiting while looking at a FIXME in `FromIterator for Option` and `FromIterator for Result`, I realized that the current documentation does not have example code showing exactly what is meant by "no further elements are taken." The code snippets provided here are meant to correct that.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
