We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f03d0b3 commit 42fb270Copy full SHA for 42fb270
library/alloc/src/rc.rs
@@ -326,7 +326,7 @@ impl<T> Rc<T> {
326
}
327
328
/// Constructs a new `Rc<T>` using a weak reference to itself. Attempting
329
- /// to upgrade the weak reference before this function retuns will result
+ /// to upgrade the weak reference before this function returns will result
330
/// in a `None` value. However, the weak reference may be cloned freely and
331
/// stored for use at a later time.
332
#[inline]
0 commit comments