about summary refs log tree commit diff
path: root/library/core/src/slice/index.rs
AgeCommit message (Expand)AuthorLines
2023-12-04use `assume(idx < self.len())` in `[T]::get_unchecked`bendn-1/+4
2023-11-25Convert many `assert_unsafe_precondition` to `debug_assert_nounwind`Gary Guo-46/+29
2023-10-16Make `rustc_onunimplemented` export path agnosticNilstrieb-4/+1
2023-07-31impl SliceIndex<str> for (Bound<usize>, Bound<usize>)Matt Fellenz-3/+3
2023-06-27Make `rustc_on_unimplemented` std-agnosticRageking8-1/+4
2023-04-16rm const traits in libcoreDeadbeef-15/+12
2023-03-05Use `nuw` when calculating slice lengths from `Range`sScott McMurray-3/+6
2023-01-21debug assertions for `slice::split_at_unchecked`, `str::get_unchecked`Peter Jaszkowiak-3/+2
2022-11-29Adjust inlining attributes around panic_immediate_abortBen Kimock-10/+11
2022-10-26Print the precondition we violated, and visible through output captureBen Kimock-10/+26
2022-09-22Auto merge of #100982 - fee1-dead-contrib:const-impl-requires-const-trait, r=...bors-0/+1
2022-09-19Optimize `array::IntoIter`Scott McMurray-0/+75
2022-09-16Require `#[const_trait]` for `const` `impl`sDeadbeef-0/+1
2022-09-04Make `const_eval_select` a real intrinsicDeadbeef-4/+16
2022-05-24Fix a mistake in `SliceIndex`'s documentationwackbyte-1/+1
2022-04-04Mention implementers of unsatisfied traitEsteban Kuber-0/+1
2022-04-03Auto merge of #92686 - saethlin:unsafe-debug-asserts, r=Amanieubors-3/+15
2022-03-29Add debug assertions to some unsafe functionsBen Kimock-3/+15
2022-03-24add #[must_use] to functions of slice and its iterators.Jendrik-3/+4
2022-03-10Use implicit capture syntax in format_argsT-O-R-U-S-3/+3
2022-03-06Constify slice index for stringsDeadbeef-14/+17
2022-02-22Constify slice indexingDeadbeef-16/+64
2021-12-10inline slice panics on panic_immediate_abortManish Goregaokar-5/+10
2021-04-21Bump slice_index_with_ops_bound_pair to 1.53.0Mara Bos-2/+2
2021-04-13Implement indexing slices with pairs of ops::Bound<usize>AnthonyMikh-0/+112
2021-02-25Convert the rest of the standard library primitives to intra-doc linksJoshua Nelson-2/+2
2021-02-12Rename `Range::ensure_subset_of` to `slice::range`dylni-4/+101
2020-10-20Check for exhaustion in SliceIndex for RangeInclusiveJosh Stone-10/+6
2020-09-18Move `slice::check_range` to `RangeBounds`dylni-78/+5
2020-09-15hopefully fix rustdoc linksRalf Jung-1/+1
2020-09-15fix slice::check_range aliasing problemsRalf Jung-1/+74
2020-09-14move indexing impl to new modLzu Tao-0/+455