about summary refs log tree commit diff
path: root/library/std/src/sync/mpmc
diff options
context:
space:
mode:
authorranger-ross <rosssullivan101@gmail.com>2024-08-31 14:41:01 +0900
committerranger-ross <rosssullivan101@gmail.com>2024-08-31 14:41:01 +0900
commit24ad26db3b8bac3c812d797cb34df76f1bff306b (patch)
tree4783ca1c9f4c39abb07a36c03db2868c8bc90ca8 /library/std/src/sync/mpmc
parent0d634185dfddefe09047881175f35c65d68dcff1 (diff)
downloadrust-24ad26db3b8bac3c812d797cb34df76f1bff306b.tar.gz
rust-24ad26db3b8bac3c812d797cb34df76f1bff306b.zip
Fixed some typos in the standard library documentation/comments
Diffstat (limited to 'library/std/src/sync/mpmc')
-rw-r--r--library/std/src/sync/mpmc/list.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sync/mpmc/list.rs b/library/std/src/sync/mpmc/list.rs
index bbe205cad04..88a8c75f7c8 100644
--- a/library/std/src/sync/mpmc/list.rs
+++ b/library/std/src/sync/mpmc/list.rs
@@ -551,7 +551,7 @@ impl<T> Channel<T> {
 
         let mut head = self.head.index.load(Ordering::Acquire);
         // The channel may be uninitialized, so we have to swap to avoid overwriting any sender's attempts
-        // to initalize the first block before noticing that the receivers disconnected. Late allocations
+        // to initialize the first block before noticing that the receivers disconnected. Late allocations
         // will be deallocated by the sender in Drop.
         let mut block = self.head.block.swap(ptr::null_mut(), Ordering::AcqRel);