We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Listings 18-15 and 18-16 have inconsistent use of commas after brace-delimited match arms.
In 18-15, the first arm is a block and ends with a comma. The second and fourth arms are also blocks, and end without commas.
Similarly in listing 18-16 the first and second match arms are brace-delimited, but only the first ends with a comma.
I've checked and rustfmt does strip these commas.
As a Rust learner, there are two things I'd point out here:
Anyway I'm just a learner but was encouraged to mention this here.
The text was updated successfully, but these errors were encountered:
Yes, we are currently working on the infrastructure to apply rustfmt to all examples; that's #1690. Closing this as a duplicate of that! Thank you!
Sorry, something went wrong.
Thanks for not dismissing this out of hand, and keep up the good work 😀
No branches or pull requests
Listings 18-15 and 18-16 have inconsistent use of commas after brace-delimited match arms.
In 18-15, the first arm is a block and ends with a comma. The second and fourth arms are also blocks, and end without commas.
Similarly in listing 18-16 the first and second match arms are brace-delimited, but only the first ends with a comma.
I've checked and rustfmt does strip these commas.
As a Rust learner, there are two things I'd point out here:
Anyway I'm just a learner but was encouraged to mention this here.
The text was updated successfully, but these errors were encountered: