summary refs log tree commit diff
path: root/library/core/src/slice/mod.rs
AgeCommit message (Expand)AuthorLines
2022-05-30Remove `memset` alias from `fill_with`.Thom Chiovoloni-1/+0
2022-05-23Rollup merge of #97087 - Nilstrieb:clarify-slice-iteration-order, r=dtolnayDylan DPC-0/+4
2022-05-18Stage-step cfgsMark Rousskov-1/+0
2022-05-16Clarify slice and Vec iteration orderNilstrieb-0/+4
2022-04-26Rollup merge of #90312 - r00ster91:search, r=Dylan-DPCDylan DPC-3/+15
2022-04-11Rollup merge of #95743 - yaahc:binary-search-clarification, r=Mark-SimulacrumMatthias Krüger-2/+14
2022-04-08Rollup merge of #95579 - Cyborus04:slice_flatten, r=scottmcmDylan DPC-0/+82
2022-04-08add `<[[T; N]]>::flatten`, `<[[T; N]]>::flatten_mut`, and `Vec::<[T; N]>::int...Cyborus04-0/+82
2022-04-07Auto merge of #95678 - pietroalbini:pa-1.62.0-bootstrap, r=Mark-Simulacrumbors-1/+0
2022-04-07Update library/core/src/slice/mod.rsDylan DPC-1/+1
2022-04-07remove exclamation markDylan DPC-1/+1
2022-04-06add necessary closure for partition_pointJane Lusby-2/+2
2022-04-06Update binary_search example to instead redirect to partition_pointJane Lusby-2/+14
2022-04-06Message: Chunks cannot have a size of zero.Marijn Schouten-2/+2
2022-04-05trivial cfg(bootstrap) changesPietro Albini-1/+0
2022-04-03Auto merge of #92686 - saethlin:unsafe-debug-asserts, r=Amanieubors-17/+16
2022-03-30remove now unnecessary lang itemslcnr-1/+1
2022-03-29Add debug assertions to some unsafe functionsBen Kimock-17/+16
2022-03-26Bump const_ptr_offset stabilization to 1.61David Tolnay-3/+3
2022-03-10Rollup merge of #94657 - fee1-dead:const_slice_index, r=oli-obkMatthias Krüger-8/+12
2022-03-06Constify slice index for stringsDeadbeef-8/+12
2022-03-03only disable SIMD for doctests in Miri (not for the stdlib build itself)Ralf Jung-3/+3
2022-02-28Rollup merge of #89793 - ibraheemdev:from_ptr_range, r=m-ou-seMatthias Krüger-0/+3
2022-02-27add `slice::{from_ptr_range, from_mut_ptr_range}`Ibraheem Ahmed-0/+3
2022-02-24revert implementation of `slice::swap`Ibraheem Ahmed-5/+11
2022-02-19Fix some confusing wording and improve slice-search-related docsr00ster91-3/+15
2022-02-13allow const_mut_refsSaltyKitkat-0/+2
2022-02-13stabilize const_ptr_offsetSaltyKitkat-3/+3
2022-03-24add #[must_use] to functions of slice and its iterators.Jendrik-0/+43
2022-03-12Use reduce_sum in as_simd exampleJubilee Young-1/+1
2022-03-10Rollup merge of #94790 - RalfJung:portable-simd-miri, r=Dylan-DPCDylan DPC-3/+0
2022-03-10Use implicit capture syntax in format_argsT-O-R-U-S-2/+2
2022-03-09enable portable-simd doctests in MiriRalf Jung-3/+0
2022-02-12Stabilise inherent_ascii_escape (FCP in #77174)ltdk-1/+1
2022-01-30Remove deprecated and unstable slice_partition_at_index functionsest31-44/+0
2022-01-02Auto merge of #91961 - kornelski:track_split_caller, r=joshtriplettbors-0/+5
2021-12-15Track caller of slice split and swapKornel-0/+5
2021-12-15Rollup merge of #91479 - scottmcm:slice-as-simd, r=workingjubileeMatthias Krüger-0/+119
2021-12-14Update comments per review feedbackScott McMurray-10/+46
2021-12-12doc: fix typo in commentsjapm48-2/+2
2021-12-10Add rsplit_array variants to slices and arraysJethro Beekman-0/+78
2021-12-02Add `[T]::as_simd(_mut)`Scott McMurray-0/+83
2021-12-01Rollup merge of #88502 - ibraheemdev:slice-take, r=dtolnayMatthias Krüger-1/+263
2021-11-15Auto merge of #90821 - scottmcm:new-slice-reverse, r=Mark-Simulacrumbors-91/+32
2021-11-12add slice take methodsIbraheem Ahmed-1/+263
2021-11-11MIRI says `reverse` is UB, so replace it with an implementation that LLVM can...Scott McMurray-91/+32
2021-11-09Extend the const_swap featureest31-2/+4
2021-10-26track_caller for slice length assertionsKornel-0/+5
2021-10-25Fixed missing double quote in the patch (slice.swap)Tommaso Fontana-1/+1
2021-10-25Changed slice.swap documentation for better readabilityTommaso Fontana-3/+3