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

docs : add a comma in structs3.rs file #1961

Merged
merged 3 commits into from May 12, 2024
Merged

docs : add a comma in structs3.rs file #1961

merged 3 commits into from May 12, 2024

Conversation

Allupeng
Copy link
Contributor

@Allupeng Allupeng commented Apr 28, 2024

when i use rustRover, and there is a grammar error says "Use a comma before 'and' if it connects two independent clauses (unless they are closely connected and short). ".
So add a comma in structs3.rs file will solve this error.

@Allupeng Allupeng changed the title docs : add a dot in structs3.rs file docs : add a comma in structs3.rs file Apr 28, 2024
@Allupeng
Copy link
Contributor Author

and i find another grammar in hashmaps1.rs file which is e.g , the correct should be e.g.

@mo8it
Copy link
Contributor

mo8it commented May 12, 2024

I decided to remove the comma because I am not sure about it. But thank for adding the dot :D

@mo8it mo8it merged commit f03020a into rust-lang:main May 12, 2024
5 checks passed
@Allupeng
Copy link
Contributor Author

I decided to remove the comma because I am not sure about it. But thank for adding the dot :D

hopefully i could help rust community :)

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