Skip to content

Conversation

@joshuajbouw
Copy link
Member

Since Rust has such a nice error and panic display, its best to follow the conventions of it to make grammatical sense. This generally is sentence fragments for errors, and then full sentences for panics. Tried to catch as many as I could.

Just a wee bit of clean up.

Copy link
Contributor

@ambeeeeee ambeeeeee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting that the only previously consistently capitalized errors are the ones that should not be capitalized :(

@memoryruins memoryruins added the C-Code-Quality A section of code that is hard to understand or change label Dec 2, 2020
@cart
Copy link
Member

cart commented Dec 2, 2020

Looks good to me. Haha I have a feeling it will take some time for my brain to adjust to this.

@cart cart merged commit 9f4c8b1 into bevyengine:master Dec 2, 2020
@joshuajbouw joshuajbouw deleted the std-error branch December 3, 2020 04:04
@fopsdev fopsdev mentioned this pull request Jan 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-Code-Quality A section of code that is hard to understand or change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants