0
0
mirror of https://github.com/rust-lang/rust.git synced 2024-11-30 20:01:19 +01:00
rust/library
Yuki Okushi c00439f682
Rollup merge of #83990 - the8472:take-trusted-len, r=dtolnay
implement `TrustedRandomAccess` for `Take` iterator adapter

`TrustedRandomAccess` requires the iterator length to fit within `usize`. `take(n)` only constrains the upper bound of an iterator. So if the inner is `TrustedRandomAccess` (which already implies a finite length) then so can be `Take`.

```````@rustbot``````` label T-libs-impl
2021-04-24 12:17:01 +09:00
..
alloc Rollup merge of #84248 - calebsander:refactor/vec-functions, r=Amanieu 2021-04-24 03:44:04 +09:00
backtrace@710fc18ddc Update backtrace to 0.3.56 2021-03-25 22:25:34 -06:00
core Rollup merge of #83990 - the8472:take-trusted-len, r=dtolnay 2021-04-24 12:17:01 +09:00
panic_abort android: set abort message 2021-04-09 15:33:43 +02:00
panic_unwind Revert "Revert stabilizing integer::BITS." 2021-03-24 22:34:36 +01:00
proc_macro
profiler_builtins Update the minimum external LLVM to 10 2021-03-22 11:33:43 -07:00
rtstartup
rustc-std-workspace-alloc
rustc-std-workspace-core
rustc-std-workspace-std
std Rollup merge of #84387 - CDirkx:poison, r=m-ou-se 2021-04-24 03:44:09 +09:00
stdarch@19f5459dd0 Update stdarch submodule (to before it switched to const generics) 2021-04-12 09:39:04 -04:00
term
test Auto merge of #82300 - andersk:libtest-id, r=Amanieu 2021-04-12 13:30:30 +00:00
unwind Rollup merge of #82374 - clehner:licenses, r=joshtriplett 2021-03-22 15:21:23 +01:00