Co-authored-by: Andrew Hickman <andrew.hickman1@sky.com>
This commit is contained in:
mental 2020-08-29 07:39:03 +01:00 committed by GitHub
parent f03d0b38d6
commit 42fb27001e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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]