]> git.lizzy.rs Git - rust.git/commit - src/tools/rust-analyzer
Rollup merge of #83270 - steffahn:missing_word_in_skip_while_doc, r=joshtriplett
authorDylan DPC <dylan.dpc@gmail.com>
Fri, 19 Mar 2021 14:03:29 +0000 (15:03 +0100)
committerGitHub <noreply@github.com>
Fri, 19 Mar 2021 14:03:29 +0000 (15:03 +0100)
commit99f411d4385f654cfffb5126725414da8b99e211
treedb96dc169be6fe780d497e3376236493fef72744
parent23128c41839fda23548da1cb16730de87d703ea6
parent99b2054fe59669231f595e22641a0f7a1f4ad918
Rollup merge of #83270 - steffahn:missing_word_in_skip_while_doc, r=joshtriplett

Fix typo/inaccuracy in the documentation of Iterator::skip_while

One of the examples used to say “this leads to a possibly confusing situation, where the type of the closure is a double reference” while _actually_ referring to the type of the closure _argument_.

This PR just changes a single word in documentation.

`````@rustbot````` modify labels: A-iterators, T-doc, T-lang