mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-19 12:05:08 +00:00
af49d81e04
Move `contains` method of Option and Result lower in docs Follow-up to #92444 trying to get the `Option` and `Result` rustdocs in better shape. This addresses the request in https://github.com/rust-lang/rust/issues/62358#issuecomment-645676285. The `contains` methods are previously too high up in the docs on both `Option` and `Result` — stuff like `ok` and `map` and `and_then` should all be featured higher than `contains`. All of those are more ubiquitously useful than `contains`. |
||
---|---|---|
.. | ||
benches | ||
primitive_docs | ||
src | ||
tests | ||
Cargo.toml |