diff options
| author | Lynn <lynn@foldr.moe> | 2017-07-18 11:31:07 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-07-18 11:31:07 +0200 |
| commit | de7decc0559e6cab05cfe007f9c53e065b7094d9 (patch) | |
| tree | b3a37ef0a6a7556cf54e36250e93be31b283e4a5 /src/liballoc | |
| parent | 2e6334062e2be142125e99d63867711da505cc9e (diff) | |
| download | rust-de7decc0559e6cab05cfe007f9c53e065b7094d9.tar.gz rust-de7decc0559e6cab05cfe007f9c53e065b7094d9.zip | |
Fix erroneous reference to Arc instead of Rc
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/rc.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/rc.rs b/src/liballoc/rc.rs index 306136b21c8..9e72238fbd4 100644 --- a/src/liballoc/rc.rs +++ b/src/liballoc/rc.rs @@ -973,7 +973,7 @@ impl<T> From<T> for Rc<T> { /// A `Weak` pointer is useful for keeping a temporary reference to the value /// within [`Rc`] without extending its lifetime. It is also used to prevent /// circular references between [`Rc`] pointers, since mutual owning references -/// would never allow either [`Arc`] to be dropped. For example, a tree could +/// would never allow either [`Rc`] to be dropped. For example, a tree could /// have strong [`Rc`] pointers from parent nodes to children, and `Weak` /// pointers from children back to their parents. /// |
