We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
AllocInit
1 parent fcd7092 commit c49f280Copy full SHA for c49f280
src/libcore/alloc/mod.rs
@@ -52,7 +52,7 @@ impl AllocInit {
52
///
53
/// * `memory.ptr` must be [valid] for writes of `memory.size` bytes.
54
55
- /// [valid]: ../ptr/index.html#safety
+ /// [valid]: ../../core/ptr/index.html#safety
56
#[inline]
57
#[unstable(feature = "allocator_api", issue = "32838")]
58
pub unsafe fn init(self, memory: MemoryBlock) {
@@ -69,7 +69,7 @@ impl AllocInit {
69
70
/// * `offset` must be smaller than or equal to `memory.size`
71
72
73
74
75
pub unsafe fn init_offset(self, memory: MemoryBlock, offset: usize) {
0 commit comments