Skip to content

Commit de7decc

Browse files
authored
Fix erroneous reference to Arc instead of Rc
1 parent 2e63340 commit de7decc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/liballoc/rc.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -973,7 +973,7 @@ impl<T> From<T> for Rc<T> {
973973
/// A `Weak` pointer is useful for keeping a temporary reference to the value
974974
/// within [`Rc`] without extending its lifetime. It is also used to prevent
975975
/// circular references between [`Rc`] pointers, since mutual owning references
976-
/// would never allow either [`Arc`] to be dropped. For example, a tree could
976+
/// would never allow either [`Rc`] to be dropped. For example, a tree could
977977
/// have strong [`Rc`] pointers from parent nodes to children, and `Weak`
978978
/// pointers from children back to their parents.
979979
///

0 commit comments

Comments
 (0)