We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c13edc commit 47b16b6Copy full SHA for 47b16b6
src/liballoc/sync.rs
@@ -106,10 +106,6 @@ const MAX_REFCOUNT: usize = (isize::MAX) as usize;
106
/// // a, b, and foo are all Arcs that point to the same memory location
107
/// ```
108
///
109
-/// The [`Arc::clone(&from)`] syntax is the most idiomatic because it conveys more explicitly
110
-/// the meaning of the code. In the example above, this syntax makes it easier to see that
111
-/// this code is creating a new reference rather than copying the whole content of foo.
112
-///
113
/// ## `Deref` behavior
114
115
/// `Arc<T>` automatically dereferences to `T` (via the [`Deref`][deref] trait),
0 commit comments