Skip to content

Commit

Permalink
keep 'currently allocated'
Browse files Browse the repository at this point in the history
Co-authored-by: zachs18 <[email protected]>
  • Loading branch information
adamse and zachs18 authored Apr 14, 2024
1 parent 3654aa5 commit c2452e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/alloc/global.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c2452e8

Please sign in to comment.