Skip to content

Commit b2392fd

Browse files
committed
Add "this" to GlobalAlloc::alloc's docs
1 parent 852be72 commit b2392fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/alloc.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ pub unsafe trait GlobalAlloc {
459459
/// # Errors
460460
///
461461
/// Returning a null pointer indicates that either memory is exhausted
462-
/// or `layout` does not meet allocator's size or alignment constraints.
462+
/// or `layout` does not meet this allocator's size or alignment constraints.
463463
///
464464
/// Implementations are encouraged to return null on memory
465465
/// exhaustion rather than aborting, but this is not

0 commit comments

Comments
 (0)