]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #100030 - WaffleLapkin:nice_pointer_sis, r=scottmcm
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>
Fri, 12 Aug 2022 15:09:10 +0000 (20:39 +0530)
committerGitHub <noreply@github.com>
Fri, 12 Aug 2022 15:09:10 +0000 (20:39 +0530)
commit51eed00ca90ac8eb46d24c60de6b3e96aac096db
treed306eb844e5d3d87520ac104fb0fe6a08f4bd0b4
parenta8c799a6a042392f293614da160e67700a363263
parentd52ed8234e8a9b8f3b988b63dae44e82827fcbda
Rollup merge of #100030 - WaffleLapkin:nice_pointer_sis, r=scottmcm

cleanup code w/ pointers in std a little

Use pointer methods (`byte_add`, `null_mut`, etc) to make code in std a little nicer.
library/core/src/ptr/const_ptr.rs
library/core/src/ptr/mut_ptr.rs
library/core/src/slice/iter.rs