about summary refs log tree commit diff
path: root/src/test/rustdoc-js-std/enum-option.js
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-05-27 03:09:23 +0200
committerGitHub <noreply@github.com>2020-05-27 03:09:23 +0200
commite6353aac9d0365d6541bb7f33548fdeb988b6563 (patch)
tree85af1caa2bd4341cd31078592dafd43a9a852cbe /src/test/rustdoc-js-std/enum-option.js
parent9e061f35e821e01c3e670c0b8ad87a1c43b1e96a (diff)
parentb60fe399f3148c4af4ea568b262211661cab37ab (diff)
downloadrust-e6353aac9d0365d6541bb7f33548fdeb988b6563.tar.gz
rust-e6353aac9d0365d6541bb7f33548fdeb988b6563.zip
Rollup merge of #72626 - phimuemue:doubleendediter_doc, r=dtolnay
Add remark regarding DoubleEndedIterator

While reviewing https://github.com/rust-itertools/itertools/pull/442/commits/14293bd18f01b6bd4856816222f808f46603eccd#diff-2c16d2ada06ad2fd1fc754679646d471, I realized that a `DoubleEndedIterator` may yield different elements depending on whether it is traversed forwards or backwards. (Not only the *order*, but possibly also the yielded values.)

I found this remarkable, but could not find anything in the current docs, so I thought it may be worth mentioning this explicitly.

Unfortunately, I could not test these changes locally (`rustdoc` complains about `unresolved import`). Sorry if this causes headache.

If I should change something, please let me know. If it seems too trivial, feel free to just close this PR.
Diffstat (limited to 'src/test/rustdoc-js-std/enum-option.js')
0 files changed, 0 insertions, 0 deletions