File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -94,8 +94,9 @@ impl fmt::Display for AllocError {
9494///
9595/// # Safety
9696///
97- /// * Memory blocks returned from an allocator must point to valid memory and retain their validity
98- /// until the instance and all of its copies and clones are dropped,
97+ /// * Memory blocks returned from an allocator that are [*currently allocated*] must point to
98+ /// valid memory and retain their validity while they are [*currently allocated*] and at
99+ /// least one of the instance and all of its clones has not been dropped.
99100///
100101/// * copying, cloning, or moving the allocator must not invalidate memory blocks returned from this
101102/// allocator. A copied or cloned allocator must behave like the same allocator, and
You can’t perform that action at this time.
0 commit comments