We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3654aa5 commit c2452e8Copy full SHA for c2452e8
library/core/src/alloc/global.rs
@@ -224,7 +224,7 @@ pub unsafe trait GlobalAlloc {
224
///
225
/// The caller has to ensure that
226
227
- /// * `ptr` is allocated via this allocator,
+ /// * `ptr` is currently allocated via this allocator,
228
229
/// * `layout` is the same layout that was used
230
/// to allocate that block of memory,
0 commit comments