about summary refs log tree commit diff
path: root/library/core/src/ptr/docs
AgeCommit message (Collapse)AuthorLines
2025-09-11Rollup merge of #142315 - lolbinarycat:core-dedup-ptr-docs-139190-pt3, ↵Stuart Cook-0/+77
r=workingjubilee core::ptr: deduplicate docs for as_ref, addr, and as_uninit_ref also add INFO.md file explaining the purpose of the ptr/docs dir, and give some pointers (heh) to future maintainers. follow up to rust-lang/rust#142101 part of rust-lang/rust#139190 r? `@workingjubilee`
2025-09-10core::ptr: deduplicate docs for as_ref, addr, and as_uninit_refbinarycat-0/+77
also add INFO.md file explaining the purpouse of the ptr/docs dir.
2025-07-20Rollup merge of #143423 - hkBst:clippy-fix-1, r=workingjubileeGuillaume Gomez-10/+10
address clippy formatting nits - int_log10.rs: change top level doc comments to outer - collect.rs: remove empty line after doc comment - clippy fix: markdown indentation for indented items after line break: a markdown list item continued over multiples lines, but those following lines which are part of the same item are not indented - clippy fix: bound in one place: when there is a bound in angle brackets and another bound on the same variable in a where clause
2025-07-14Change "allocated object" to "allocation".Tim (Theemathas) Chirananthavat-2/+2
These seem like they were missed in <https://github.com/rust-lang/rust/pull/141224>
2025-07-08clippy fix: markdown indentation for indented items after line breakMarijn Schouten-10/+10
2025-06-09core::ptr: deduplicate more method docsbinarycat-0/+62
2025-05-31terminology: allocated object → allocationRalf Jung-8/+8
2025-05-26core: begin deduplicating pointer docsbinarycat-0/+61
this also cleans up two inconsistancies: 1. both doctests on the ::add methods were actually calling the const version. 2. on of the ::offset methods was missing a line of clarification. part of https://github.com/rust-lang/rust/issues/139190