From bf7e324e4e610b1f12971e601073ccfd6f197fff Mon Sep 17 00:00:00 2001 From: Otto Rask Date: Fri, 31 Aug 2018 11:21:01 +0300 Subject: [PATCH] Add clearer wording to Arc clone example code --- src/liballoc/sync.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/liballoc/sync.rs b/src/liballoc/sync.rs index 72a4740b15660..db7a4044b267f 100644 --- a/src/liballoc/sync.rs +++ b/src/liballoc/sync.rs @@ -108,7 +108,7 @@ const MAX_REFCOUNT: usize = (isize::MAX) as usize; /// // The two syntaxes below are equivalent. /// let a = foo.clone(); /// let b = Arc::clone(&foo); -/// // a and b both point to the same memory location as foo +/// // a, b, and foo are all Arcs that point to the same memory location /// ``` /// /// The [`Arc::clone(&from)`] syntax is the most idiomatic because it conveys more explicitly