Skip to content

Commit ff6754c

Browse files
committed
fix tidy checks
1 parent 50f5ea9 commit ff6754c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/libcore/cell.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1166,12 +1166,12 @@ impl<'a, T: ?Sized + fmt::Display> fmt::Display for RefMut<'a, T> {
11661166
/// `Mutex`, etc, you need to turn these optimizations off. `UnsafeCell` is the only legal way
11671167
/// to do this. When `UnsafeCell<T>` itself is immutably aliased, it is still safe to obtain
11681168
/// a mutable reference to its interior and/or to mutate the interior. However, the abstraction
1169-
/// designer must ensure that any active mutable references to the interior obtained this way does
1170-
/// not co-exist with other active references to the interior, either mutable or not. This is often
1169+
/// designer must ensure that any active mutable references to the interior obtained this way does
1170+
/// not co-exist with other active references to the interior, either mutable or not. This is often
11711171
/// done via runtime checks. Naturally, several active immutable references to the interior can
11721172
/// co-exits with each other (but not with a mutable reference).
11731173
///
1174-
/// To put it in other words, if a mutable reference to the contents is active, no other references
1174+
/// To put it in other words, if a mutable reference to the contents is active, no other references
11751175
/// can be active at the same time, and if an immutable reference to the contents is active, then
11761176
/// only other immutable reference may be active.
11771177
///

0 commit comments

Comments
 (0)