Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Hickman <andrew.hickman1@sky.com>
  • Loading branch information
mental32 and andrewhickman authored Aug 29, 2020
1 parent f03d0b3 commit 42fb270
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/alloc/src/rc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ impl<T> Rc<T> {
}

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

0 comments on commit 42fb270

Please sign in to comment.