File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ pub enum AllocInit {
44
44
impl AllocInit {
45
45
/// Initialize the specified memory block.
46
46
///
47
- /// This behaves like calling [`AllocInit::initialize_offset(ptr, layout , 0)`][off].
47
+ /// This behaves like calling [`AllocInit::init_offset(memory , 0)`][off].
48
48
///
49
49
/// [off]: AllocInit::init_offset
50
50
///
@@ -61,8 +61,8 @@ impl AllocInit {
61
61
62
62
/// Initialize the memory block like specified by `init` at the specified `offset`.
63
63
///
64
- /// This is a no-op for [`AllocInit::Uninitialized`] and writes zeroes for [`AllocInit::Zeroed`]
65
- /// at `ptr + offset` until `ptr + layout.size()`.
64
+ /// This is a no-op for [`AllocInit::Uninitialized`][] and writes zeroes for
65
+ /// [`AllocInit::Zeroed`][] at `ptr + offset` until `ptr + layout.size()`.
66
66
///
67
67
/// # Safety
68
68
///
You can’t perform that action at this time.
0 commit comments