Skip to content

Commit 42fb270

Browse files
typo
Co-authored-by: Andrew Hickman <[email protected]>
1 parent f03d0b3 commit 42fb270

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/alloc/src/rc.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ impl<T> Rc<T> {
326326
}
327327

328328
/// Constructs a new `Rc<T>` using a weak reference to itself. Attempting
329-
/// to upgrade the weak reference before this function retuns will result
329+
/// to upgrade the weak reference before this function returns will result
330330
/// in a `None` value. However, the weak reference may be cloned freely and
331331
/// stored for use at a later time.
332332
#[inline]

0 commit comments

Comments
 (0)