1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-09-23 01:34:44 +02:00

Merge pull request #1161 from GabrielBianconi/patch-1

Fix typo in `threads3` hint
This commit is contained in:
liv 2022-08-24 11:15:52 +02:00 committed by GitHub
commit a2f66e6a67
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1012,7 +1012,7 @@ hint = """
An alternate way to handle concurrency between threads is to use
a mpsc (multiple producer, single consumer) channel to communicate.
With both a sending end and a receiving end, it's possible to
send values in one thread and receieve them in another.
send values in one thread and receive them in another.
Multiple producers are possible by using clone() to create a duplicate
of the original sending end.
See https://doc.rust-lang.org/book/ch16-02-message-passing.html for more info.