summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-06-01 14:12:36 +0200
committerGitHub <noreply@github.com>2022-06-01 14:12:36 +0200
commitf81269f508f41ccc8d4398cb36a218b19cbd2901 (patch)
tree736faa268edabb9eb9c2b4907ff5c5175a23f091
parent31ece0c850ca3642efa13fcd3dfb0ce007c2e0cc (diff)
downloadrust-f81269f508f41ccc8d4398cb36a218b19cbd2901.tar.gz
Update sync.rs
-rw-r--r--library/alloc/src/sync.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/sync.rs b/library/alloc/src/sync.rs
index 1fb036743bf..55d51e0a3c4 100644
--- a/library/alloc/src/sync.rs
+++ b/library/alloc/src/sync.rs
@@ -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