Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions library/core/src/ptr/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1620,6 +1620,8 @@ pub const unsafe fn replace<T>(dst: *mut T, src: T) -> T {
///
/// Note that even if `T` has size `0`, the pointer must be properly aligned.
///
/// Care must be taken around [ownership of the returned value](#ownership-of-the-returned-value).
///
/// # Examples
///
/// Basic usage:
Expand Down
Loading