diff --git a/library/core/src/alloc/global.rs b/library/core/src/alloc/global.rs index c5f9fcfc59516..fd970be304242 100644 --- a/library/core/src/alloc/global.rs +++ b/library/core/src/alloc/global.rs @@ -224,7 +224,7 @@ pub unsafe trait GlobalAlloc { /// /// The caller has to ensure that /// - /// * `ptr` is allocated via this allocator, + /// * `ptr` is currently allocated via this allocator, /// /// * `layout` is the same layout that was used /// to allocate that block of memory,