File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -95,10 +95,10 @@ impl fmt::Display for AllocError {
95
95
/// # Safety
96
96
///
97
97
/// * Memory blocks returned from an allocator must point to valid memory and retain their validity
98
- /// until the instance and all of its clones are dropped,
98
+ /// until the instance and all of its copies and clones are dropped,
99
99
///
100
- /// * cloning or moving the allocator must not invalidate memory blocks returned from this
101
- /// allocator. A cloned allocator must behave like the same allocator, and
100
+ /// * copying, cloning, or moving the allocator must not invalidate memory blocks returned from this
101
+ /// allocator. A copied or cloned allocator must behave like the same allocator, and
102
102
///
103
103
/// * any pointer to a memory block which is [*currently allocated*] may be passed to any other
104
104
/// method of the allocator.
You can’t perform that action at this time.
0 commit comments