diff options
| author | Matthew Kraai <kraai@ftbfs.org> | 2019-12-07 22:59:14 -0500 |
|---|---|---|
| committer | Matthew Kraai <kraai@ftbfs.org> | 2019-12-08 08:21:27 -0500 |
| commit | cca954eb22101ee924b4ffb34bd9ffcec0d9d9be (patch) | |
| tree | da36b87e194567b8e1172d6f1c1bfe2d3ed0ad70 /src/libcore/alloc.rs | |
| parent | b2392fddab7b153b6c7083371a80f36bb3005cd7 (diff) | |
| download | rust-cca954eb22101ee924b4ffb34bd9ffcec0d9d9be.tar.gz rust-cca954eb22101ee924b4ffb34bd9ffcec0d9d9be.zip | |
Change "`alloc`/`realloc`" to "`realloc/dealloc`"
Diffstat (limited to 'src/libcore/alloc.rs')
| -rw-r--r-- | src/libcore/alloc.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcore/alloc.rs b/src/libcore/alloc.rs index 9ec7e1d9136..c8a3a2d9fe5 100644 --- a/src/libcore/alloc.rs +++ b/src/libcore/alloc.rs @@ -1046,7 +1046,7 @@ pub unsafe trait Alloc { /// Captures a common usage pattern for allocators. /// /// The returned block is suitable for passing to the - /// `alloc`/`realloc` methods of this allocator. + /// `realloc`/`dealloc` methods of this allocator. /// /// Note to implementors: If this returns `Ok(ptr)`, then `ptr` /// must be considered "currently allocated" and must be @@ -1112,7 +1112,7 @@ pub unsafe trait Alloc { /// Captures a common usage pattern for allocators. /// /// The returned block is suitable for passing to the - /// `alloc`/`realloc` methods of this allocator. + /// `realloc`/`dealloc` methods of this allocator. /// /// Note to implementors: If this returns `Ok(ptr)`, then `ptr` /// must be considered "currently allocated" and must be @@ -1159,7 +1159,7 @@ pub unsafe trait Alloc { /// Captures a common usage pattern for allocators. /// /// The returned block is suitable for passing to the - /// `alloc`/`realloc` methods of this allocator. + /// `realloc`/`dealloc` methods of this allocator. /// /// # Safety /// |
