File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1046,7 +1046,7 @@ pub unsafe trait Alloc {
10461046 /// Captures a common usage pattern for allocators.
10471047 ///
10481048 /// The returned block is suitable for passing to the
1049- /// `alloc `/`realloc ` methods of this allocator.
1049+ /// `realloc `/`dealloc ` methods of this allocator.
10501050 ///
10511051 /// Note to implementors: If this returns `Ok(ptr)`, then `ptr`
10521052 /// must be considered "currently allocated" and must be
@@ -1112,7 +1112,7 @@ pub unsafe trait Alloc {
11121112 /// Captures a common usage pattern for allocators.
11131113 ///
11141114 /// The returned block is suitable for passing to the
1115- /// `alloc `/`realloc ` methods of this allocator.
1115+ /// `realloc `/`dealloc ` methods of this allocator.
11161116 ///
11171117 /// Note to implementors: If this returns `Ok(ptr)`, then `ptr`
11181118 /// must be considered "currently allocated" and must be
@@ -1159,7 +1159,7 @@ pub unsafe trait Alloc {
11591159 /// Captures a common usage pattern for allocators.
11601160 ///
11611161 /// The returned block is suitable for passing to the
1162- /// `alloc `/`realloc ` methods of this allocator.
1162+ /// `realloc `/`dealloc ` methods of this allocator.
11631163 ///
11641164 /// # Safety
11651165 ///
You can’t perform that action at this time.
0 commit comments