m-ou-se / rust-atomics-and-locks

Code examples, data structures, and links from my book, Rust Atomics and Locks.
Other
1.33k stars 120 forks source link

Typo in chapter 5 summary #13

Closed Imberflur closed 1 year ago

Imberflur commented 1 year ago

Type of error

Typo

Location of the error

https://marabos.nl/atomics/building-channels.html#summary

Description of the error

Taking a non-Copy object by value can be used to prevent something to be done more than once.

Potential fix:

"Taking a non-Copy object by value can be used to prevent something ~to be~ from being done more than once."

(Marked as a typo but maybe this could be considered a grammer issue?)

m-ou-se commented 1 year ago

Thanks! Fixed.