Skip to content

Commit

Permalink
Rollup merge of #97603 - ximon18:arc-make-mut-spelling-correction, r=…
Browse files Browse the repository at this point in the history
…GuillaumeGomez

Arc make_mut doc comment spelling correction.
  • Loading branch information
Dylan-DPC authored Jun 2, 2022
2 parents 5363749 + 0e3648d commit b04ace1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions alloc/src/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1393,11 +1393,11 @@ impl<T: Clone> Arc<T> {
/// referred to as clone-on-write.
///
/// However, if there are no other `Arc` pointers to this allocation, but some [`Weak`]
/// pointers, then the [`Weak`] pointers will be disassociated and the inner value will not
/// pointers, then the [`Weak`] pointers will be dissociated and the inner value will not
/// be cloned.
///
/// See also [`get_mut`], which will fail rather than cloning the inner value
/// or diassociating [`Weak`] pointers.
/// or dissociating [`Weak`] pointers.
///
/// [`clone`]: Clone::clone
/// [`get_mut`]: Arc::get_mut
Expand All @@ -1420,7 +1420,7 @@ impl<T: Clone> Arc<T> {
/// assert_eq!(*other_data, 12);
/// ```
///
/// [`Weak`] pointers will be disassociated:
/// [`Weak`] pointers will be dissociated:
///
/// ```
/// use std::sync::Arc;
Expand Down

0 comments on commit b04ace1

Please sign in to comment.