about summary refs log tree commit diff
path: root/library/core/src/slice/raw.rs
AgeCommit message (Expand)AuthorLines
2023-10-05Add more diagnostic items for clippyJason Newcomb-0/+2
2023-06-16slice::from_raw_parts: mention no-wrap-around conditionRalf Jung-10/+14
2022-10-26Print the precondition we violated, and visible through output captureBen Kimock-4/+8
2022-10-20Use a faster allocation size check in slice::from_raw_partsBen Kimock-5/+5
2022-10-03Sync docs of `slice::{from_ptr_range, from_ptr_range_mut}`Maybe Waffle-1/+15
2022-10-03Document when `slice::from_ptr_range[_mut]` panicMaybe Waffle-0/+8
2022-09-04Make `const_eval_select` a real intrinsicDeadbeef-2/+2
2022-07-09Partially stabilize const_slice_from_raw_partsKonrad Borowski-2/+2
2022-06-03Rollup merge of #97366 - WaffleLapkin:stabilize_array_slice_from_ref, r=dtolnayDylan DPC-1/+1
2022-05-31Fixup feature name to be more consistent with othersMaybe Waffle-1/+1
2022-05-30Rename slice_from_ptr_range_const -> const_slice_from_ptr_rangeMaybe Waffle-1/+1
2022-05-30Make `from{,_mut}_ptr_range` constMaybe Waffle-2/+4
2022-05-24Stabilize `{slice,array}::from_ref`Maybe Waffle-1/+1
2022-05-11Rename `unsigned_offset_from` to `sub_ptr`Scott McMurray-2/+2
2022-05-11Add `unsigned_offset_from` on pointersScott McMurray-2/+2
2022-04-03Auto merge of #92686 - saethlin:unsafe-debug-asserts, r=Amanieubors-38/+13
2022-03-29Add debug assertions to some unsafe functionsBen Kimock-38/+13
2022-03-24add #[must_use] to functions of slice and its iterators.Jendrik-0/+4
2022-02-27add `slice::{from_ptr_range, from_mut_ptr_range}`Ibraheem Ahmed-0/+111
2021-12-10Rollup merge of #91325 - RalfJung:const_eval_select, r=dtolnayMatthias Krüger-2/+2
2021-11-30Apply cfg-bootstrap switchMark Rousskov-2/+2
2021-11-28adjust some const_eval_select safety commentsRalf Jung-2/+2
2021-10-29Apply changes proposed in the reviewMaybe Waffle-8/+9
2021-10-29Use proper issue number for `feature(const_slice_from_raw_parts)`Maybe Waffle-4/+4
2021-10-28Make `core::slice::from_raw_parts[_mut]` constMaybe Waffle-14/+41
2021-10-23Fill tracking issue for `const_slice_from_ref` and `const_array_from_ref`Maybe Waffle-2/+2
2021-10-22Mark {array,slice}::{from_ref,from_mut} as const fnMaybe Waffle-2/+4
2021-02-25Convert primitives to use intra-doc linksJoshua Nelson-2/+0
2021-01-10Rework diagnostics for wrong number of generic argsPatryk Wychowaniec-1/+1
2020-09-23use array::from_ref for slicesBastian Kauschke-10/+3
2020-09-14Move free functions to a new moduleLzu Tao-0/+158