File tree 1 file changed +1
-1
lines changed
1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -1783,7 +1783,7 @@ impl<T: ?Sized + fmt::Display> fmt::Display for RefMut<'_, T> {
1783
1783
/// until the reference expires. As a special exception, given an `&T`, any part of it that is
1784
1784
/// inside an `UnsafeCell<_>` may be deallocated during the lifetime of the reference, after the
1785
1785
/// last time the reference is used (dereferenced or reborrowed). Since you cannot deallocate a part
1786
- /// of what a reference points to, this means the memory an `&T` points to can be deallocted only if
1786
+ /// of what a reference points to, this means the memory an `&T` points to can be deallocated only if
1787
1787
/// *every part of it* (including padding) is inside an `UnsafeCell`.
1788
1788
///
1789
1789
/// However, whenever a `&UnsafeCell<T>` is constructed or dereferenced, it must still point to
You can’t perform that action at this time.
0 commit comments