@@ -153,7 +153,7 @@ macro_rules! acquire {
153
153
///
154
154
/// ## `Deref` behavior
155
155
///
156
- /// `Arc<T>` automatically dereferences to `T` (via the [`Deref`][deref] trait),
156
+ /// `Arc<T>` automatically dereferences to `T` (via the [`Deref`] trait),
157
157
/// so you can call `T`'s methods on a value of type `Arc<T>`. To avoid name
158
158
/// clashes with `T`'s methods, the methods of `Arc<T>` itself are associated
159
159
/// functions, called using [fully qualified syntax]:
@@ -187,7 +187,6 @@ macro_rules! acquire {
187
187
/// [mutex]: ../../std/sync/struct.Mutex.html
188
188
/// [rwlock]: ../../std/sync/struct.RwLock.html
189
189
/// [atomic]: core::sync::atomic
190
- /// [deref]: core::ops::Deref
191
190
/// [downgrade]: Arc::downgrade
192
191
/// [upgrade]: Weak::upgrade
193
192
/// [RefCell\<T>]: core::cell::RefCell
@@ -1495,7 +1494,7 @@ impl<T: ?Sized, A: Allocator> Arc<T, A> {
1495
1494
/// alignment as `T`. This is trivially true if `U` is `T`.
1496
1495
/// Note that if `U` is not `T` but has the same size and alignment, this is
1497
1496
/// basically like transmuting references of different types. See
1498
- /// [`mem::transmute`][transmute] for more information on what
1497
+ /// [`mem::transmute`] for more information on what
1499
1498
/// restrictions apply in this case.
1500
1499
///
1501
1500
/// The raw pointer must point to a block of memory allocated by `alloc`
@@ -1507,7 +1506,6 @@ impl<T: ?Sized, A: Allocator> Arc<T, A> {
1507
1506
/// even if the returned `Arc<T>` is never accessed.
1508
1507
///
1509
1508
/// [into_raw]: Arc::into_raw
1510
- /// [transmute]: core::mem::transmute
1511
1509
///
1512
1510
/// # Examples
1513
1511
///
0 commit comments