about summary refs log tree commit diff
path: root/src/libstd/sys
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-03-26 09:05:47 +0100
committerGitHub <noreply@github.com>2019-03-26 09:05:47 +0100
commit0616b73c2fbe019e3c9273ab10cdf2ef16a78df1 (patch)
treebf898498d8ae94f6e6e21a9b517ec7790d174254 /src/libstd/sys
parente132e43e85fed008be31d813f13c041fc8b0551b (diff)
parent0e83e96852e9aacde2bf633bb17b293910073812 (diff)
downloadrust-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')
0 files changed, 0 insertions, 0 deletions