about summary refs log tree commit diff
path: root/src/libcore/slice
AgeCommit message (Expand)AuthorLines
2020-05-02slice::fill: take T by value.Bastian Kauschke-6/+7
2020-04-25Bump bootstrap compilerMark Rousskov-2/+2
2020-04-20Stop accessing module level int consts via crate::<Ty>Linus Färnstrand-2/+1
2020-04-15big-O notation: parenthesis, multiplication and backticksRalf Jung-7/+7
2020-04-14Tighten time complexity on the docmi_sawa-1/+1
2020-04-05Rollup merge of #70752 - yoshuawuyts:slice_fill, r=dtolnayDylan DPC-0/+24
2020-04-05Add slice::fillYoshua Wuyts-0/+24
2020-04-03Replace float module consts with assoc consts in documentationLinus Färnstrand-1/+1
2020-03-23#[track_caller] on core::ops::{Index, IndexMut}.Adam Perry-0/+6
2020-03-04Use subslice patterns in slice methodsJosh Stone-22/+8
2020-02-29Rollup merge of #69581 - RalfJung:align_to_mut, r=CentrilDylan DPC-1/+3
2020-02-29fix aliasing violation in align_to_mutRalf Jung-1/+3
2020-02-28use is_empty() instead of len() == x to determine if structs are empty.Matthias Krüger-2/+2
2020-02-22Auto merge of #67330 - golddranks:split_inclusive, r=kodrausbors-1/+271
2020-02-09Don't return empty slice on last iteration with matched terminator. Test reve...Pyry Kontio-105/+116
2020-02-09Implement split_inclusive for slice and str, an splitting iterator that inclu...Pyry Kontio-1/+260
2020-02-01Remove some unsound specializationsMatthew Jasper-29/+51
2019-12-26Use NonNull in slice::Iter and slice::IterMut.Martin Habovstiak-22/+25
2019-12-22Format the worldMark Rousskov-362/+457
2019-12-21Require issue = "none" over issue = "0" in unstable attributesRoss MacArthur-8/+8
2019-12-18Propagate cfg bootstrapMark Rousskov-9/+3
2019-12-13Require stable/unstable annotations for the constness of all stable functions...Oliver Scherer-0/+9
2019-11-26Format libcore with rustfmtDavid Tolnay-51/+73
2019-11-07Rollup merge of #63793 - oli-obk:🧹, r=dtolnayMazdak Farrokhzad-0/+5
2019-11-06Have tidy ensure that we document all `unsafe` blocks in libcoreOliver Scherer-0/+5
2019-11-05fix link to ptr docsRalf Jung-2/+2
2019-11-05expand slice from_raw_part docsRalf Jung-18/+42
2019-10-25Fix slice::as_ptr_range doctest.Mara Bos-7/+10
2019-10-25Explain why pointer::add in slice::as_ptr_range is safe.Mara Bos-0/+18
2019-10-25Add slice_ptr_range tracking issue number.Mara Bos-2/+2
2019-10-25Add [T]::as_ptr_range() and [T]::as_mut_ptr_range().Mara Bos-1/+60
2019-10-04Allow unused attributes to avoid incremental bugMark Rousskov-0/+1
2019-09-30Auto merge of #64600 - scottmcm:no-slice-tryfold-unroll, r=blussbors-68/+1
2019-09-25Snap cfgs to new betaMark Rousskov-3/+1
2019-09-24Stabilize `str::len`, `[T]::len`, `is_empty` and `str::as_bytes` as const fnOliver Scherer-2/+4
2019-09-23Just delete the overrides now that they match the default implementationsScott McMurray-62/+1
2019-09-21Remove manual unrolling from slice::Iter(Mut)::try_foldScott McMurray-13/+7
2019-08-22Apply clippy::let_and_return suggestionMateusz Mikuła-2/+1
2019-08-20Rollup merge of #63265 - JohnTitor:implement-nth-back-for-chunksexactmut, r=s...Mazdak Farrokhzad-0/+16
2019-08-10Use Result::unwrap_or_else instead of matchingLzu Tao-4/+1
2019-08-10Add an example to show how to insert item to a sorted vecLzu Tao-0/+14
2019-08-09Auto merge of #61937 - AaronKutch:master, r=scottmcmbors-69/+152
2019-08-06Improve `ptr_rotate` performance, tests, and benchmarksAaron Kutch-69/+152
2019-08-05Clarify align_to's requirements and obligationsJake Goulding-6/+8
2019-08-05Implement nth_back for ChunksExactMutYuki Okushi-0/+16
2019-08-04fix linksRalf Jung-2/+2
2019-08-03Apply suggestions from code reviewRalf Jung-8/+12
2019-08-03clarify that unchecked indexing is UB even if the reference is never usedRalf Jung-4/+12
2019-07-28Rollup merge of #62074 - wizAmit:feature/mut_chunks_nth_back, r=scottmcmMazdak Farrokhzad-0/+19
2019-07-25Auto merge of #60340 - mgeier:cap-vs-capacity, r=alexcrichtonbors-2/+2