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

The confusing colon ":" in the end of Chapter 5-3 Method Syntax #3301

Closed
traffictse opened this issue Aug 9, 2022 · 1 comment
Closed

The confusing colon ":" in the end of Chapter 5-3 Method Syntax #3301

traffictse opened this issue Aug 9, 2022 · 1 comment
Milestone

Comments

@traffictse
Copy link

  • [√ ] 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/ch05-03-method-syntax.md

Description of the problem: The sentence "This function is namespaced by the struct: the :: syntax is used for both associated functions and namespaces created by modules." just above the subsection title "Multiple impl Blocks" has a sort of confusing colon ":".

Suggested fix: wondering if the colon ":" next to "the struct" is just a simple colon that is used to introduce an explanation. Is it better to replace it with a period "." for clarity?

@carols10cents carols10cents added this to the ch6 milestone Aug 19, 2022
@carols10cents carols10cents changed the title The confusing colon ":" in the end of Chapter 6-3 Method Syntax The confusing colon ":" in the end of Chapter 5-3 Method Syntax Oct 28, 2022
@carols10cents carols10cents modified the milestones: ch6, ch5 Oct 28, 2022
@chriskrycho
Copy link
Contributor

Per my comment on the corresponding PR, I am going to go ahead and close this; the original was very standard (and indeed good) English. Thanks!

@chriskrycho chriskrycho closed this as not planned Won't fix, can't repro, duplicate, stale Mar 28, 2024
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 a pull request may close this issue.

3 participants