summary refs log tree commit diff
path: root/library/core/src/slice/mod.rs
AgeCommit message (Expand)AuthorLines
2020-10-02Rollup merge of #77111 - fusion-engineering-forks:stabilize-slice-ptr-range, ...Yuki Okushi-4/+2
2020-10-01Auto merge of #76971 - bugadani:issue-75659, r=Amanieubors-0/+1
2020-09-27Refactor memchr to allow optimizationDániel Buga-0/+1
2020-09-26Stabilize slice_ptr_range.Mara Bos-4/+2
2020-09-23Make [].as_[mut_]ptr_range() (unstably) const.Mara Bos-3/+6
2020-09-20Rollup merge of #76827 - lcnr:array_windows-docs, r=jonas-schievinkRalf Jung-1/+1
2020-09-18Move unsafe code of slice `new` function of their Iterator structsLzu Tao-99/+16
2020-09-17Using <Iter>::new instead of exposing internal fieldsLzu Tao-27/+25
2020-09-17docs `array` -> `slice`Bastian Kauschke-1/+1
2020-09-17fix array_windows docsBastian Kauschke-1/+1
2020-09-16Rollup merge of #75026 - JulianKnodt:array_windows, r=AmanieuTyler Mandry-0/+37
2020-09-16Add array window fnkadmin-0/+37
2020-09-15fix slice::check_range aliasing problemsRalf Jung-77/+4
2020-09-14Removed outdated commentsLzu Tao-16/+0
2020-09-14Move ascii to new moduleLzu Tao-157/+1
2020-09-14move indexing impl to new modLzu Tao-737/+12
2020-09-14Move free functions to a new moduleLzu Tao-172/+12
2020-09-14Move iterator impls to a new moduleLzu Tao-2893/+27
2020-09-13slice::from_raw_parts: explicitly mention that data must be initializedRalf Jung-0/+4
2020-09-12Auto merge of #75021 - cuviper:array_chunks_mut, r=scottmcmbors-5/+147
2020-09-08Capitalize safety commentsFlying-Toast-1/+1
2020-09-07Auto merge of #76395 - dylni:adjust-documentation-for-slice-check-range, r=jy...bors-1/+1
2020-09-07Rollup merge of #76309 - lzutao:indent-note, r=jyn514Dylan DPC-2/+3
2020-09-07Rollup merge of #76287 - lzutao:rm-allowed, r=jyn514Dylan DPC-1/+0
2020-09-05Adjust documentation for slice_check_rangedylni-1/+1
2020-09-04Move ArrayChunksMut::get_unchecked per #73565Josh Stone-6/+10
2020-09-04Build the slice directly in array_chunks_mutJosh Stone-6/+3
2020-09-04Add slice::array_chunks_mutJosh Stone-5/+146
2020-09-05Indent a note to make folding work nicerLzu Tao-2/+3
2020-09-04Auto merge of #75207 - dylni:add-slice-check-range, r=KodrAusbors-21/+86
2020-09-04Remove a useless allowed attrLzu Tao-1/+0
2020-09-03Auto merge of #73819 - euclio:rustdoc-summaries, r=jyn514,GuillaumeGomezbors-2/+2
2020-08-31Auto merge of #75936 - sdroege:chunks-exact-construction-bounds-check, r=nagisabors-27/+127
2020-08-30Improve documentation of slice::get_unchecked() / split_at_unchecked()Sebastian Dröge-31/+41
2020-08-30Get rid of bounds check in slice::chunks_exact() and related functions during...Sebastian Dröge-6/+10
2020-08-30Add (non-public) slice::split_at_unchecked() and split_at_mut_unchecked()Sebastian Dröge-8/+94
2020-08-30fix broken trait method linksAndy Russell-2/+2
2020-08-30Fix intra-doc path resolution problem in `library/alloc/src/slice.rs`Amjad Alsharafi-4/+4
2020-08-28Used intra-doc links for `ptr#safety` occurrencesAmjad Alsharafi-2/+2
2020-08-28Used intra-doc links for `NonNull::dangling()` occurrencesAmjad Alsharafi-2/+2
2020-08-28Fixes `intra-doc` same scope linksAmjad Alsharafi-6/+5
2020-08-28Use intra-doc links for `core/src/slice.mod.rs`Amjad Alsharafi-6/+6
2020-08-19Use min_specialization in libcoreMatthew Jasper-106/+150
2020-08-16Replace ad hoc implementations with `slice::check_range`dylni-17/+2
2020-08-16Auto merge of #74562 - pickfire:is_ascii_branchless, r=nagisabors-9/+6
2020-08-12Put panic code path from `copy_from_slice` into cold functionLukas Kalbertodt-1/+16
2020-08-11Add some texts to make the tidy check for unsafe documentation passPoliorcetics-1/+1
2020-08-11Change safety comment for usize with the one from LukasKalbertodt reviewAlexis Bourget-23/+17
2020-08-11Remove branch in optimized is_asciiIvan Tham-9/+6
2020-08-09Improve safety comments for usize, fix some other unclear partsAlexis Bourget-11/+17