Skip to content

Commit 6bc30f3

Browse files
authored
Rollup merge of rust-lang#97603 - ximon18:arc-make-mut-spelling-correction, r=GuillaumeGomez
Arc make_mut doc comment spelling correction.
2 parents b771221 + 9eaa5c6 commit 6bc30f3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: alloc/src/sync.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1393,11 +1393,11 @@ impl<T: Clone> Arc<T> {
13931393
/// referred to as clone-on-write.
13941394
///
13951395
/// However, if there are no other `Arc` pointers to this allocation, but some [`Weak`]
1396-
/// pointers, then the [`Weak`] pointers will be disassociated and the inner value will not
1396+
/// pointers, then the [`Weak`] pointers will be dissociated and the inner value will not
13971397
/// be cloned.
13981398
///
13991399
/// See also [`get_mut`], which will fail rather than cloning the inner value
1400-
/// or diassociating [`Weak`] pointers.
1400+
/// or dissociating [`Weak`] pointers.
14011401
///
14021402
/// [`clone`]: Clone::clone
14031403
/// [`get_mut`]: Arc::get_mut
@@ -1420,7 +1420,7 @@ impl<T: Clone> Arc<T> {
14201420
/// assert_eq!(*other_data, 12);
14211421
/// ```
14221422
///
1423-
/// [`Weak`] pointers will be disassociated:
1423+
/// [`Weak`] pointers will be dissociated:
14241424
///
14251425
/// ```
14261426
/// use std::sync::Arc;

0 commit comments

Comments
 (0)