Closed
Description
- I have checked the latest
main
branch to see if this has already been fixed - I have searched existing issues and pull requests for duplicates
URL to the section(s) of the book with this problem:
https://github.com/rust-lang/book/blob/main/src/ch16-03-shared-state.md
Description of the problem:
Sentence does not make grammatical sense: The type system *ensures that we acquire a lock before using the value in m: Mutex<i32> is not an i32, so we must acquire the lock to be able to use the i32 value.* We can’t forget; the type system won’t let us access the inner i32 otherwise.
Suggested fix:
#2936
Metadata
Metadata
Assignees
Labels
No labels