diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2019-07-09 16:21:59 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2019-07-09 16:21:59 +0200 |
| commit | 4c1332afd93cf57e9cd02ded906c5d141f9a6353 (patch) | |
| tree | 0da571663ebb8a73f7f99d78726200743a1ae86b | |
| parent | db592f4627251cfd8571a05cf8e06a56be9470c2 (diff) | |
| download | rust-4c1332afd93cf57e9cd02ded906c5d141f9a6353.tar.gz rust-4c1332afd93cf57e9cd02ded906c5d141f9a6353.zip | |
Add missing links for CannotReallocInPlace type
| -rw-r--r-- | src/libcore/alloc.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/libcore/alloc.rs b/src/libcore/alloc.rs index f25631e028e..487f3b76fc7 100644 --- a/src/libcore/alloc.rs +++ b/src/libcore/alloc.rs @@ -359,9 +359,12 @@ impl fmt::Display for AllocErr { } } -/// The `CannotReallocInPlace` error is used when `grow_in_place` or -/// `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 /// a requested layout. +/// +/// [`grow_in_place`]: ./trait.Alloc.html#method.grow_in_place +/// [`shrink_in_place`]: ./trait.Alloc.html#method.shrink_in_place #[unstable(feature = "allocator_api", issue = "32838")] #[derive(Clone, PartialEq, Eq, Debug)] pub struct CannotReallocInPlace; |
