@@ -1642,8 +1642,8 @@ impl<T> AtomicPtr<T> {
16421642 /// and the argument `val`, and stores a pointer with provenance of the
16431643 /// current pointer and the resulting address.
16441644 ///
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
16471647 /// pointer schemes to atomically set tag bits.
16481648 ///
16491649 /// **Caveat**: This operation returns the previous value. To compute the
@@ -1693,8 +1693,8 @@ impl<T> AtomicPtr<T> {
16931693 /// pointer, and the argument `val`, and stores a pointer with provenance of
16941694 /// the current pointer and the resulting address.
16951695 ///
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
16981698 /// pointer schemes to atomically unset tag bits.
16991699 ///
17001700 /// **Caveat**: This operation returns the previous value. To compute the
@@ -1743,8 +1743,8 @@ impl<T> AtomicPtr<T> {
17431743 /// pointer, and the argument `val`, and stores a pointer with provenance of
17441744 /// the current pointer and the resulting address.
17451745 ///
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
17481748 /// pointer schemes to atomically toggle tag bits.
17491749 ///
17501750 /// **Caveat**: This operation returns the previous value. To compute the
0 commit comments