diff options
| author | Matthew Kraai <kraai@ftbfs.org> | 2019-12-06 10:05:41 -0800 |
|---|---|---|
| committer | Matthew Kraai <kraai@ftbfs.org> | 2019-12-08 08:21:27 -0500 |
| commit | b2392fddab7b153b6c7083371a80f36bb3005cd7 (patch) | |
| tree | b8f9bfeabdeaaa038a4be805274d56824dc9de12 | |
| parent | 852be72c433a02f0c3cb28f6703c2b08f2067831 (diff) | |
| download | rust-b2392fddab7b153b6c7083371a80f36bb3005cd7.tar.gz rust-b2392fddab7b153b6c7083371a80f36bb3005cd7.zip | |
Add "this" to `GlobalAlloc::alloc`'s docs
| -rw-r--r-- | src/libcore/alloc.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/alloc.rs b/src/libcore/alloc.rs index f88415e16e3..9ec7e1d9136 100644 --- a/src/libcore/alloc.rs +++ b/src/libcore/alloc.rs @@ -459,7 +459,7 @@ pub unsafe trait GlobalAlloc { /// # Errors /// /// Returning a null pointer indicates that either memory is exhausted - /// or `layout` does not meet allocator's size or alignment constraints. + /// or `layout` does not meet this allocator's size or alignment constraints. /// /// Implementations are encouraged to return null on memory /// exhaustion rather than aborting, but this is not |
