rust/library/core/src/ptr
León Orell Valerian Liehr b13df84fa2
Rollup merge of #142101 - lolbinarycat:core-dedup-ptr-docs-139190-pt2, r=workingjubilee
core::ptr: deduplicate more method docs

used `rg -Fxf library/core/src/ptr/{const,mut}_ptr.rs` to find duplicated doc comments, and `diff -u` after copying them to files to ensure they are actually identical.

`sed 's| */// *||'` was then used to translate the doc comments to plain markdown.

part of https://github.com/rust-lang/rust/issues/139190
2025-06-10 16:54:49 +02:00
..
docs core::ptr: deduplicate more method docs 2025-06-09 13:43:08 -05:00
alignment.rs Add some track_caller info to precondition panics 2025-05-21 09:10:06 -04:00
const_ptr.rs core::ptr: deduplicate more method docs 2025-06-09 13:43:08 -05:00
metadata.rs Rollup merge of #135080 - Enselic:debug-ptr-metadata, r=thomcc 2025-03-16 13:19:51 +08:00
mod.rs terminology: allocated object → allocation 2025-05-31 22:49:14 +02:00
mut_ptr.rs core::ptr: deduplicate more method docs 2025-06-09 13:43:08 -05:00
non_null.rs stabilize nonnull_provenance 2025-06-09 12:36:24 +02:00
unique.rs Expose Unique::from<NonNull> in const internally 2025-03-26 20:46:07 +00:00