]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #92955 - llogiq:cloned-side-effect-doc, r=yaahc
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>
Wed, 23 Mar 2022 02:05:28 +0000 (03:05 +0100)
committerGitHub <noreply@github.com>
Wed, 23 Mar 2022 02:05:28 +0000 (03:05 +0100)
commit0e86cabdceb4205572505b9d238f7a4e859c362b
tree08e9d23f4d2759919227727afa200d4c9f93c2e5
parent67d6cc6ef3883b6598ee6347f119cdfd7c4029b8
parent1fb43f66624554d3fd63afc8e141386cbd6d414b
Rollup merge of #92955 - llogiq:cloned-side-effect-doc, r=yaahc

add perf side effect docs to `Iterator::cloned()`

Now that #90209 has been closed, as the current state of affairs is neither here nor there, this at least adds a paragraph + example on what to expect performance-wise and how to deal with it to the .cloned() docs.

cc `@the8472`