]> git.lizzy.rs Git - rust.git/commit - src/tools/rust-analyzer
Rollup merge of #91383 - ScriptDevil:drop-while-doc-alias, r=joshtriplett
authorYuki Okushi <jtitor@2k36.org>
Tue, 30 Nov 2021 08:29:13 +0000 (17:29 +0900)
committerGitHub <noreply@github.com>
Tue, 30 Nov 2021 08:29:13 +0000 (17:29 +0900)
commit28176a4a33dfa04b63d5494a0726be8befc4dcb9
tree48f726fe439aa5f29d602672e812405874c99fd3
parent898f1e47173bbc069ec1f78364cd3c029c61c139
parentdea3494b3122e950d91cb5f387ff6dcdac8e2ab6
Rollup merge of #91383 - ScriptDevil:drop-while-doc-alias, r=joshtriplett

Add `drop_while` as doc alias to `Iterator::skip_while`

`skip_while` is commonly referred to as `drop_while` in other languages (clojure/c++/haskell). This recently came up in [Zulip](https://rust-lang.zulipchat.com/#narrow/stream/122651-general/topic/.E2.9C.94.20DropWhile/near/262203352) as well.

This pull request adds 'drop_while' as a doc-alias for 'skip_while'.

r? `@joshtriplett`