Ch. 16: fix a grammar issue

Fixes #3664
This commit is contained in:
Chris Krycho 2024-04-08 13:28:11 -06:00
parent 3dd1e24614
commit 8179f7543d
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ We hinted that this example wouldnt compile. Now lets find out why!
The error message states that the `counter` value was moved in the previous
iteration of the loop. Rust is telling us that we cant move the ownership
of lock `counter` into multiple threads. Lets fix the compiler error with a
of `counter` into multiple threads. Lets fix the compiler error with a
multiple-ownership method we discussed in Chapter 15.
#### Multiple Ownership with Multiple Threads