rust/library/core/src
bors d5ae66c12c Auto merge of #92287 - JulianKnodt:slice_remainder, r=yaahc
Add slice::remainder

This adds a remainder function to the Slice iterator, so that a caller can access unused
elements if iteration stops.

Addresses #91733
2022-04-18 23:34:24 +00:00
..
alloc fix Layout struct member naming style 2022-04-11 13:35:18 +08:00
array trivial cfg(bootstrap) changes 2022-04-05 23:18:40 +02:00
async_iter Add Stream alias for AsyncIterator 2022-03-15 20:59:13 -07:00
char No need to check the assert all the time. 2022-04-16 19:30:23 +01:00
convert Rollup merge of #96006 - hkBst:patch-2, r=Dylan-DPC 2022-04-13 17:35:37 +02:00
ffi library: Use type aliases to make CStr(ing) in libcore/liballoc unstable 2022-04-14 21:53:11 +03:00
fmt Rollup merge of #95438 - m-ou-se:sync-unsafe-cell, r=joshtriplett 2022-04-04 20:41:32 +02:00
future Rename IntoFuture::Future to IntoFuture::IntoFuture 2022-03-10 20:51:52 +01:00
hash Make the stdlib largely conform to strict provenance. 2022-03-29 20:18:21 -04:00
iter Remove trailing whitespace 2022-04-14 11:19:49 +02:00
macros reword panic vs result section to remove recoverable vs unrecoverable framing 2022-04-07 13:44:57 -07:00
mem MaybeUninit array cleanup 2022-04-15 20:53:50 -04:00
num Make some usize-typed masks definition agnostic to the size of usize 2022-04-15 17:04:59 +02:00
ops Rollup merge of #95663 - notriddle:notriddle/unsafe-fn-closure, r=compiler-errors 2022-04-05 22:58:59 +02:00
panic Revert "Mark Location::caller() as #[inline]" 2022-04-06 18:45:11 +02:00
prelude Create 2024 edition 2022-04-02 02:45:49 -04:00
ptr Rollup merge of #96136 - thomcc:lifetime-wording, r=RalfJung 2022-04-18 18:22:04 +02:00
slice Add slice::remainder 2022-04-17 17:19:45 +00:00
str Make some usize-typed masks definition agnostic to the size of usize 2022-04-15 17:04:59 +02:00
sync Rollup merge of #95354 - dtolnay:rustc_const_stable, r=lcnr 2022-04-02 03:34:21 +02:00
task Rollup merge of #89869 - kpreid:from-doc, r=yaahc 2022-02-17 06:29:57 +01:00
unicode Regenerate tables for Unicode 14.0.0 2021-10-06 17:49:33 -07:00
any.rs Use implicit capture syntax in format_args 2022-03-10 10:23:40 -05:00
ascii.rs Inline <EscapeDefault as Iterator>::next 2022-03-10 15:35:22 +01:00
bool.rs trivial cfg(bootstrap) changes 2022-04-05 23:18:40 +02:00
borrow.rs Make Borrow and BorrowMut impls const 2021-12-04 21:57:39 +09:00
cell.rs Add tracking issue for sync_unsafe_cell. 2022-03-29 19:54:00 +02:00
clone.rs trivial cfg(bootstrap) changes 2022-04-05 23:18:40 +02:00
cmp.rs Derive Eq for std::cmp::Ordering, instead of using manual impl. 2022-03-16 11:36:31 -05:00
default.rs Add documentation 2022-04-07 20:03:24 -04:00
hint.rs Add core::hint::must_use 2022-03-08 10:58:03 -08:00
internal_macros.rs Add a copy of cfg_if to core's internal_macros.rs 2022-03-01 16:24:10 -08:00
intrinsics.rs Auto merge of #95678 - pietroalbini:pa-1.62.0-bootstrap, r=Mark-Simulacrum 2022-04-07 07:34:04 +00:00
lazy.rs Rollup merge of #89869 - kpreid:from-doc, r=yaahc 2022-02-17 06:29:57 +01:00
lib.rs Auto merge of #96010 - eduardosm:Unique-on-top-of-NonNull, r=m-ou-se,tmiasko 2022-04-17 05:26:08 +00:00
marker.rs trivial cfg(bootstrap) changes 2022-04-05 23:18:40 +02:00
option.rs trivial cfg(bootstrap) changes 2022-04-05 23:18:40 +02:00
panic.rs resolve the conflict in compiler/rustc_session/src/parse.rs 2022-03-16 20:12:30 +08:00
panicking.rs trivial cfg(bootstrap) changes 2022-04-05 23:18:40 +02:00
pin.rs Fix formatting error in pin.rs docs 2022-04-10 12:41:31 -07:00
primitive.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
primitive_docs.rs Use implicit capture syntax in format_args 2022-03-10 10:23:40 -05:00
result.rs trivial cfg(bootstrap) changes 2022-04-05 23:18:40 +02:00
time.rs Adjust feature names that disagree on const stabilization version 2022-03-31 12:34:48 -07:00
tuple.rs Implement tuples using recursion 2022-04-12 16:23:36 -03:00
unit.rs Use implicit capture syntax in format_args 2022-03-10 10:23:40 -05:00