Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo in Chapter 15 Section 05. #3772

Closed
wants to merge 1 commit into from
Closed

Conversation

ZiHao256
Copy link

@ZiHao256 ZiHao256 commented Nov 8, 2023

Fix typo in Chapter 15 Section 05. changing:
"Rc<T> enables multiple owners of the same data; Box<T> and RefCell<T> have single owners ."
to
"Rc<T> enables multiple owners of the same data; Box<T> and RefCell<T> have single owner."

"`Rc<T>` enables multiple owners of the same data; `Box<T>` and `RefCell<T>` have single owners ."
"`Rc<T>` enables multiple owners of the same data; `Box<T>` and `RefCell<T>` have single owner."
@carols10cents
Copy link
Member

Sorry, this is not typo and is correct as-is. "Box<T> and RefCell<T>" is plural, so the correct match of the phrase is "single owners". Another way to think about this is replace "Box<T> and RefCell<T>" with the plural pronoun "they", which would make this sentence "they have single owners." which is grammatically correct. Thanks though!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants