about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-02-23 12:26:45 +0100
committerGitHub <noreply@github.com>2022-02-23 12:26:45 +0100
commitefe6a979b5a7924123141a6864faea6457b8ca6f (patch)
tree9bc8ee37e95e57ea791c5d11f64b740c26e3e78b
parent6550671fa517726d5691045884e6ff6b810c4556 (diff)
parentc61d5923f29d7f02f69e4987b6169f3fc3187857 (diff)
downloadrust-efe6a979b5a7924123141a6864faea6457b8ca6f.tar.gz
rust-efe6a979b5a7924123141a6864faea6457b8ca6f.zip
Rollup merge of #94264 - NyantasticUwU:patch-1, r=yaahc
Fix typo.

Yeah just a typo (probably some breaking changes in here be careful) :)
-rw-r--r--library/std/src/thread/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/thread/mod.rs b/library/std/src/thread/mod.rs
index f8d790c3785..beb60609934 100644
--- a/library/std/src/thread/mod.rs
+++ b/library/std/src/thread/mod.rs
@@ -1482,7 +1482,7 @@ fn _assert_sync_and_send() {
 ///
 /// Parallelism is a resource. A given machine provides a certain capacity for
 /// parallelism, i.e., a bound on the number of computations it can perform
-/// simultaneously. This number often corresponds to the amount of CPUs or
+/// simultaneously. This number often corresponds to the amount of CPUs a
 /// computer has, but it may diverge in various cases.
 ///
 /// Host environments such as VMs or container orchestrators may want to