Add "this" to GlobalAlloc::alloc's docs

This commit is contained in:
Matthew Kraai 2019-12-06 10:05:41 -08:00
parent 852be72c43
commit b2392fddab

View File

@ -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