summary refs log tree commit diff
path: root/src/libcore/slice/mod.rs
AgeCommit message (Expand)AuthorLines
2020-07-05Optimize is_ascii for &str and &[u8]Thom Chiovoloni-1/+101
2020-07-02Rollup merge of #73622 - LeSeulArtichaut:unsafe-libcore, r=nikomatsakisManish Goregaokar-43/+100
2020-07-01Implement slice_strip featureLzu Tao-0/+62
2020-06-30Deny unsafe ops in unsafe fns, part 6LeSeulArtichaut-1/+0
2020-06-30Deny unsafe ops in unsafe fns, part 5LeSeulArtichaut-43/+101
2020-06-28Rollup merge of #73577 - VillSnow:master, r=AmanieuManish Goregaokar-0/+54
2020-06-28Update src/libcore/slice/mod.rsVillSnow-1/+1
2020-06-28Update tracking issue numberVillSnow-1/+1
2020-06-28Update doc commentVillSnow-6/+10
2020-06-28Merge branch 'master' of https://github.com/VillSnow/rustVillSnow-1/+2
2020-06-28Update src/libcore/slice/mod.rsVillSnow-1/+2
2020-06-28Add comment on use of unsafeVillSnow-0/+9
2020-06-24Fix links in `SliceIndex` documentationLeSeulArtichaut-0/+2
2020-06-22update: doc commentVillSnow-1/+3
2020-06-21fix: doc testVillSnow-3/+3
2020-06-21Add partition_pointVillSnow-0/+38
2020-06-20Address review commentsOliver Scherer-38/+9
2020-06-19Add fuzzy pointer comparison intrinsicsOliver Scherer-2/+48
2020-06-12Rollup merge of #72906 - lzutao:migrate-numeric-assoc-consts, r=dtolnayDylan DPC-8/+4
2020-06-10Migrate to numeric associated constsLzu Tao-8/+4
2020-06-08Fix the typo (size of the size)Stanislav Tkach-2/+2
2020-05-31Clarify terms in doc commentsJOE1994-2/+2
2020-05-24Use sort_unstable_by in its own docsKagami Sascha Rosylight-1/+1
2020-05-21TypoRalf Jung-1/+1
2020-05-21Improve documentation of `slice::from_raw_parts`Daniel Henry-Mantilla-1/+30
2020-05-20split_inclusive: add tracking issue number (72360)Pyry Kontio-13/+13
2020-05-13Use simpler impls for some `Iterator` methods for slices.Nicholas Nethercote-17/+105
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-1/+0
2020-04-15big-O notation: parenthesis, multiplication and backticksRalf Jung-4/+4
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-07Rollup merge of #63793 - oli-obk:🧹, r=dtolnayMazdak Farrokhzad-0/+1