rust/library
bors 5d74e88006 Auto merge of #75949 - vext01:filter-docs, r=jyn514
Try to improve the documentation of `filter()` and `filter_map()`.

I believe the documentation is currently a little misleading.

For example, in the docs for `filter()`:

> If the closure returns `false`, it will try again, and call the closure on
> the next element, seeing if it passes the test.

This kind of implies that if the closure returns true then we *don't* "try
again" and no further elements are considered. In actuality that's not the
case, every element is tried regardless of what happened with the previous
element.

This change tries to clarify that by removing the uses of "try again"
altogether.
2020-09-06 18:26:33 +00:00
..
alloc Auto merge of #76217 - RalfJung:maybe-uninit-slice, r=KodrAus 2020-09-05 21:02:18 +00:00
backtrace@4083a90168
core Auto merge of #75949 - vext01:filter-docs, r=jyn514 2020-09-06 18:26:33 +00:00
panic_abort
panic_unwind
proc_macro
profiler_builtins Fix warning whe building profiler_builtins crate 2020-09-04 15:10:29 +02:00
rtstartup
rustc-std-workspace-alloc
rustc-std-workspace-core
rustc-std-workspace-std
std Auto merge of #76128 - poliorcetics:doc-use-arc-clone, r=KodrAus 2020-09-06 12:34:31 +00:00
stdarch@78891cdf29
term
test
unwind