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 @@ -95,10 +95,10 @@ impl fmt::Display for AllocError {
9595/// # Safety
9696///
9797/// * 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,
9999///
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
102102///
103103/// * any pointer to a memory block which is [*currently allocated*] may be passed to any other
104104/// method of the allocator.
You can’t perform that action at this time.
0 commit comments