We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db592f4 commit 4c1332aCopy full SHA for 4c1332a
src/libcore/alloc.rs
@@ -359,9 +359,12 @@ impl fmt::Display for AllocErr {
359
}
360
361
362
-/// The `CannotReallocInPlace` error is used when `grow_in_place` or
363
-/// `shrink_in_place` were unable to reuse the given memory block for
+/// The `CannotReallocInPlace` error is used when [`grow_in_place`] or
+/// [`shrink_in_place`] were unable to reuse the given memory block for
364
/// a requested layout.
365
+///
366
+/// [`grow_in_place`]: ./trait.Alloc.html#method.grow_in_place
367
+/// [`shrink_in_place`]: ./trait.Alloc.html#method.shrink_in_place
368
#[unstable(feature = "allocator_api", issue = "32838")]
369
#[derive(Clone, PartialEq, Eq, Debug)]
370
pub struct CannotReallocInPlace;
0 commit comments