mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-29 00:34:17 -05:00
Merge pull request #1086 from PrettyWood/patch-2
remove small typo in hint of threads3
This commit is contained in:
commit
316fc58b4c
1 changed files with 1 additions and 1 deletions
|
@ -988,7 +988,7 @@ An alternate way to handle concurrency between threads is to use
|
||||||
a mpsc (multiple producer, single consumer) channel to communicate.
|
a mpsc (multiple producer, single consumer) channel to communicate.
|
||||||
With both a sending end and a receiving end, it's possible to
|
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 receieve them in another.
|
||||||
Multiple producers are possibile by using clone() to create a duplicate
|
Multiple producers are possible by using clone() to create a duplicate
|
||||||
of the original sending end.
|
of the original sending end.
|
||||||
See https://doc.rust-lang.org/book/ch16-02-message-passing.html for more info.
|
See https://doc.rust-lang.org/book/ch16-02-message-passing.html for more info.
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in a new issue