rust-lang / rustlings

:crab: Small exercises to get you used to reading and writing Rust code!
https://rustlings.cool
MIT License
52.82k stars 10.03k forks source link

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

Closed Allupeng closed 4 months ago

Allupeng commented 4 months ago

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 commented 4 months ago

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

mo8it commented 4 months ago

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

Allupeng commented 4 months ago

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 :)