rust/src/libcore
bors 5ae85f43f4 Auto merge of #68820 - WaffleLapkin:remove_finished_from_map_while, r=LukasKalbertodt
Remove `finished` flag from `MapWhile`

This PR removes  `finished` flag from `MapWhile` as been proposed in https://github.com/rust-lang/rust/pull/66577#discussion_r370958025.

This also resolves open questions of the tracking issue (#68537):
- `MapWhile` can't implement both
  + `DoubleEndedIterator` (discussed in https://github.com/rust-lang/rust/pull/66577#discussion_r370947990 and following comments)
  + `FusedIterator` (this pr removes `finished` flag, so `MapWhile` isn't fused anymore)
- Debug output (this pr removes `finished` flag, so there is no question in including it in debug output)

r? @Mark-Simulacrum
2020-03-22 11:57:58 +00:00
..
array Format the world 2019-12-22 17:42:47 -05:00
benches Format the world 2019-12-22 17:42:47 -05:00
char Improve char::is_ascii_* code 2020-02-11 10:22:47 +01:00
convert Correct version that relaxed orphan rules 2020-03-07 08:21:27 +00:00
fmt Rollup merge of #69011 - foeb:document-unsafe-core-fmt, r=Mark-Simulacrum 2020-03-12 16:32:11 +01:00
future Add issue reference 2020-03-17 22:19:11 +01:00
hash Rollup merge of #69471 - nnethercote:rm-sip-Hasher-short_write, r=dtolnay 2020-03-15 02:44:15 +01:00
iter Auto merge of #68820 - WaffleLapkin:remove_finished_from_map_while, r=LukasKalbertodt 2020-03-22 11:57:58 +00:00
macros Rollup merge of #69870 - petrochenkov:cfgacc, r=matthewjasper 2020-03-17 03:05:12 +01:00
mem Don't hard-code the vector length in the examples. 2020-03-19 14:50:33 +01:00
num update stable-since version for const_int_conversion 2020-03-13 14:25:35 +01:00
ops Removed unused Hasher import. 2020-03-19 21:58:11 +01:00
prelude builtin_macros: Add attribute macro #[cfg_accessible(path)] 2020-03-10 01:02:13 +03:00
ptr debug-assert ptr sanity in ptr::write 2020-03-14 14:05:26 +01:00
slice Use subslice patterns in slice methods 2020-03-04 10:34:24 -08:00
str Use ?-operator in more places (clippy::question_mark, had some false negatives fixed recently) 2020-03-07 21:46:47 +01:00
sync Use copy bound in atomic operations to generate simpler MIR 2020-03-18 00:47:08 +01:00
task Use matches macro in libcore and libstd 2020-01-08 07:10:28 +03:00
tests Rollup merge of #70038 - DutchGhost:const-forget-tests, r=RalfJung 2020-03-21 05:33:18 +01:00
unicode Regenerate tables for Unicode 13.0.0 2020-03-11 09:24:08 -07:00
alloc.rs Allow ZSTs in AllocRef 2020-03-08 11:01:12 +01:00
any.rs Minor: note why we can rely on Any trait for safety 2020-01-28 20:53:45 -05:00
ascii.rs Format libcore with rustfmt 2019-11-26 23:02:11 -08:00
bool.rs Format libcore with rustfmt (including tests and benches) 2019-12-06 20:20:51 -08:00
borrow.rs Format the world 2019-12-22 17:42:47 -05:00
Cargo.toml Move the matches! macro to the prelude 2019-10-23 15:35:36 +02:00
cell.rs Rollup merge of #70029 - jonas-schievink:bootstrap, r=Centril 2020-03-17 03:05:17 +01:00
clone.rs Require issue = "none" over issue = "0" in unstable attributes 2019-12-21 13:16:18 +02:00
cmp.rs Mark several functions and methods in core::cmp as #[must_use] 2020-02-08 10:42:23 -08:00
default.rs Format libcore with rustfmt 2019-11-26 23:02:11 -08:00
ffi.rs Require issue = "none" over issue = "0" in unstable attributes 2019-12-21 13:16:18 +02:00
hint.rs remove redundant returns (clippy::needless_return) 2020-03-20 20:23:03 +01:00
internal_macros.rs Require issue = "none" over issue = "0" in unstable attributes 2019-12-21 13:16:18 +02:00
intrinsics.rs Rollup merge of #69922 - RalfJung:less-intrinsic, r=oli-obk 2020-03-17 12:16:16 +01:00
lib.rs add Option::{zip,zip_with} methods under "option_zip" gate 2020-03-18 10:25:58 +03:00
marker.rs Add attributes to allow specializing on traits 2020-03-15 12:44:25 +00:00
option.rs make "other" in docs of Option::{zip,zip_with} monofont 2020-03-19 22:19:37 +03:00
panic.rs Format the world 2019-12-22 17:42:47 -05:00
panicking.rs also make panic_fmt track_caller 2020-03-10 10:31:03 +01:00
pin.rs fix various typos 2020-03-06 15:19:31 +01:00
primitive.rs Bump core::primitive to 1.43 2020-02-23 23:59:39 -08:00
raw.rs Fix more tests after revert of rustdoc cfg(test) feature 2019-06-09 18:15:53 +01:00
result.rs Rollup merge of #68918 - brson:unwrapdoc, r=Dylan-DPC 2020-02-09 00:53:55 +01:00
time.rs no longer promote non-pattern const functions 2019-12-22 18:37:22 +01:00
tuple.rs Format libcore with rustfmt 2019-11-26 23:02:11 -08:00
unit.rs Format libcore with rustfmt 2019-11-26 23:02:11 -08:00