Update sync.rs

This commit is contained in:
Dylan DPC 2022-06-01 14:12:36 +02:00 committed by GitHub
parent 31ece0c850
commit f81269f508
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1393,7 +1393,7 @@ 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 disociated 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