rust-lang / book

The Rust Programming Language

Home Page:https://doc.rust-lang.org/book/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wording about ownership rules; Rc enabling multiple ownership that isn't allowed

LCamel opened this issue · comments

  • I have searched open and closed issues and pull requests for duplicates, using these search terms:

    • is:issue There can only be one owner at a time.
    • is:issue "one owner"
  • I have checked the latest main branch to see if this has already been fixed, in this file:

URL to the section(s) of the book with this problem:

Description of the problem:

In Chapter 4, it says: "Ownership Rules ...... There can only be one owner at a time."
In Chapter 15, it says: "However, there are cases when a single value might have multiple owners."

Is it still a rule?

Suggested fix: