about summary refs log tree commit diff
path: root/src/libstd/sync
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2020-03-07 17:27:32 +0100
committerGitHub <noreply@github.com>2020-03-07 17:27:32 +0100
commit10f999b72d24fa181a3ec54fd21807b6a664e615 (patch)
tree17a54913e18979912f3e0297f61acaa193ba24e6 /src/libstd/sync
parente6d4996a436497a0344eaba80615e3643389b89b (diff)
parent4c2b0f1631f40f7dce7292b3b3b4e2a752b82f7f (diff)
downloadrust-10f999b72d24fa181a3ec54fd21807b6a664e615.tar.gz
rust-10f999b72d24fa181a3ec54fd21807b6a664e615.zip
Rollup merge of #69773 - matthiaskrgr:typos, r=petrochenkov
fix various typos
Diffstat (limited to 'src/libstd/sync')
-rw-r--r--src/libstd/sync/mpsc/spsc_queue.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sync/mpsc/spsc_queue.rs b/src/libstd/sync/mpsc/spsc_queue.rs
index c51aa7619db..0274268f69f 100644
--- a/src/libstd/sync/mpsc/spsc_queue.rs
+++ b/src/libstd/sync/mpsc/spsc_queue.rs
@@ -40,7 +40,7 @@ struct Consumer<T, Addition> {
     tail: UnsafeCell<*mut Node<T>>, // where to pop from
     tail_prev: AtomicPtr<Node<T>>,  // where to pop from
     cache_bound: usize,             // maximum cache size
-    cached_nodes: AtomicUsize,      // number of nodes marked as cachable
+    cached_nodes: AtomicUsize,      // number of nodes marked as cacheable
     addition: Addition,
 }