From b2392fddab7b153b6c7083371a80f36bb3005cd7 Mon Sep 17 00:00:00 2001 From: Matthew Kraai Date: Fri, 6 Dec 2019 10:05:41 -0800 Subject: [PATCH] Add "this" to `GlobalAlloc::alloc`'s docs --- src/libcore/alloc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcore/alloc.rs b/src/libcore/alloc.rs index f88415e16e33..9ec7e1d91364 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