File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ impl AllocInit {
52
52
///
53
53
/// * `memory.ptr` must be [valid] for writes of `memory.size` bytes.
54
54
///
55
- /// [valid]: ../ptr/index.html#safety
55
+ /// [valid]: ../../core/ ptr/index.html#safety
56
56
#[ inline]
57
57
#[ unstable( feature = "allocator_api" , issue = "32838" ) ]
58
58
pub unsafe fn init ( self , memory : MemoryBlock ) {
@@ -69,7 +69,7 @@ impl AllocInit {
69
69
/// * `memory.ptr` must be [valid] for writes of `memory.size` bytes.
70
70
/// * `offset` must be smaller than or equal to `memory.size`
71
71
///
72
- /// [valid]: ../ptr/index.html#safety
72
+ /// [valid]: ../../core/ ptr/index.html#safety
73
73
#[ inline]
74
74
#[ unstable( feature = "allocator_api" , issue = "32838" ) ]
75
75
pub unsafe fn init_offset ( self , memory : MemoryBlock , offset : usize ) {
You can’t perform that action at this time.
0 commit comments