@@ -1642,8 +1642,8 @@ impl<T> AtomicPtr<T> {
1642
1642
/// and the argument `val`, and stores a pointer with provenance of the
1643
1643
/// current pointer and the resulting address.
1644
1644
///
1645
- /// This is equivalent equivalent to using [`map_addr`] to atomically
1646
- /// perform `ptr = ptr.map_addr(|a| a | val)`. This can be used in tagged
1645
+ /// This is equivalent to using [`map_addr`] to atomically perform
1646
+ /// `ptr = ptr.map_addr(|a| a | val)`. This can be used in tagged
1647
1647
/// pointer schemes to atomically set tag bits.
1648
1648
///
1649
1649
/// **Caveat**: This operation returns the previous value. To compute the
@@ -1693,8 +1693,8 @@ impl<T> AtomicPtr<T> {
1693
1693
/// pointer, and the argument `val`, and stores a pointer with provenance of
1694
1694
/// the current pointer and the resulting address.
1695
1695
///
1696
- /// This is equivalent equivalent to using [`map_addr`] to atomically
1697
- /// perform `ptr = ptr.map_addr(|a| a & val)`. This can be used in tagged
1696
+ /// This is equivalent to using [`map_addr`] to atomically perform
1697
+ /// `ptr = ptr.map_addr(|a| a & val)`. This can be used in tagged
1698
1698
/// pointer schemes to atomically unset tag bits.
1699
1699
///
1700
1700
/// **Caveat**: This operation returns the previous value. To compute the
@@ -1743,8 +1743,8 @@ impl<T> AtomicPtr<T> {
1743
1743
/// pointer, and the argument `val`, and stores a pointer with provenance of
1744
1744
/// the current pointer and the resulting address.
1745
1745
///
1746
- /// This is equivalent equivalent to using [`map_addr`] to atomically
1747
- /// perform `ptr = ptr.map_addr(|a| a ^ val)`. This can be used in tagged
1746
+ /// This is equivalent to using [`map_addr`] to atomically perform
1747
+ /// `ptr = ptr.map_addr(|a| a ^ val)`. This can be used in tagged
1748
1748
/// pointer schemes to atomically toggle tag bits.
1749
1749
///
1750
1750
/// **Caveat**: This operation returns the previous value. To compute the
0 commit comments