Skip to content

Commit c2452e8

Browse files
adamsezachs18
andauthored
keep 'currently allocated'
Co-authored-by: zachs18 <8355914+zachs18@users.noreply.github.com>
1 parent 3654aa5 commit c2452e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/alloc/global.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ pub unsafe trait GlobalAlloc {
224224
///
225225
/// The caller has to ensure that
226226
///
227-
/// * `ptr` is allocated via this allocator,
227+
/// * `ptr` is currently allocated via this allocator,
228228
///
229229
/// * `layout` is the same layout that was used
230230
/// to allocate that block of memory,

0 commit comments

Comments
 (0)