Skip to content

Commit e51b35e

Browse files
authored
Rollup merge of rust-lang#50913 - d-e-s-o:fix-typo, r=joshtriplett
Fix typo in cell.rs
2 parents 42b4c49 + e2f0cc0 commit e51b35e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/cell.rs

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

0 commit comments

Comments
 (0)