Skip to content

chapter 16 section 03 grammar #2937

Closed
rust-lang/rust
#96933

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions