We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6020219 commit bf7e324Copy full SHA for bf7e324
src/liballoc/sync.rs
@@ -108,7 +108,7 @@ const MAX_REFCOUNT: usize = (isize::MAX) as usize;
108
/// // The two syntaxes below are equivalent.
109
/// let a = foo.clone();
110
/// let b = Arc::clone(&foo);
111
-/// // 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
112
/// ```
113
///
114
/// The [`Arc::clone(&from)`] syntax is the most idiomatic because it conveys more explicitly
0 commit comments