diff options
| author | Mark Rousskov <mark.simulacrum@gmail.com> | 2019-07-15 19:55:03 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-15 19:55:03 -0400 |
| commit | 64ceba73afca4eddf1409427413fed5ed6711270 (patch) | |
| tree | 3f05c3da79d139d4e26e1c5b68dbb43014ebfac5 | |
| parent | d6f0c0c47dbe3abd05e51daf4e470c81ed491334 (diff) | |
| parent | 4c1332afd93cf57e9cd02ded906c5d141f9a6353 (diff) | |
| download | rust-64ceba73afca4eddf1409427413fed5ed6711270.tar.gz rust-64ceba73afca4eddf1409427413fed5ed6711270.zip | |
Rollup merge of #62533 - GuillaumeGomez:missing-urls-CannotReallocInPlace, r=QuietMisdreavus
Add missing links for CannotReallocInPlace type r? @QuietMisdreavus
| -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; |
