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 {
5252 ///
5353 /// * `memory.ptr` must be [valid] for writes of `memory.size` bytes.
5454 ///
55- /// [valid]: ../../ ptr/index.html#safety
55+ /// [valid]: ../ptr/index.html#safety
5656 #[ inline]
5757 #[ unstable( feature = "allocator_api" , issue = "32838" ) ]
5858 pub unsafe fn init ( self , memory : MemoryBlock ) {
@@ -69,7 +69,7 @@ impl AllocInit {
6969 /// * `memory.ptr` must be [valid] for writes of `memory.size` bytes.
7070 /// * `offset` must be smaller than or equal to `memory.size`
7171 ///
72- /// [valid]: ../../ ptr/index.html#safety
72+ /// [valid]: ../ptr/index.html#safety
7373 #[ inline]
7474 #[ unstable( feature = "allocator_api" , issue = "32838" ) ]
7575 pub unsafe fn init_offset ( self , memory : MemoryBlock , offset : usize ) {
You can’t perform that action at this time.
0 commit comments