Skip to content

Commit fa7f7ac

Browse files
committed
Fix typo in cell.rs
1 parent 21ea121 commit fa7f7ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/libcore/cell.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1256,7 +1256,7 @@ impl<'a, T: ?Sized + fmt::Display> fmt::Display for RefMut<'a, T> {
12561256
/// To assist with proper design, the following scenarios are explicitly declared legal
12571257
/// for single-threaded code:
12581258
///
1259-
/// 1. A `&T` reference can be released to safe code and there it can co-exit with other `&T`
1259+
/// 1. A `&T` reference can be released to safe code and there it can co-exist with other `&T`
12601260
/// references, but not with a `&mut T`
12611261
///
12621262
/// 2. A `&mut T` reference may be released to safe code, provided neither other `&mut T` nor `&T`

0 commit comments

Comments
 (0)