-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Rust: Fixed cargo clippy on non-generated code #5485
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
Conversation
|
@CasperN Cool! Looks like you also added some code along with the clippy stuff? |
rust/flatbuffers/src/primitives.rs
Outdated
| pub struct TableFinishedWIPOffset {} | ||
|
|
||
| /// TableUnfinishedWIPOffset marks a WIPOffset as being for an unfinished table. | ||
| // TableUnfinishedWIPOffset marks a WIPOffset as being for an unfinished table. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh that's my bad - that should still be a doc comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
|
I fixed the clippy lints, which involved writing some code (e.g. replace the assert_eq for floats) and also I added more derives |
|
Ignore Travis Android CI fail. |
|
Thanks Wouter, I was wondering how'd that break |
|
@rw care to comment? |
rw
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After further discussion this will LGTM
|
Bump @rw |
|
@CasperN awesome work! Added more comments. Thanks for the bump :-] |
|
LGTM, merge when CI passes. |
|
CI problem unrelated. |
* Cargo clippy lints * more lints * more lints * Restored a doc comment * Comment on float eps-eq and adjusted casting
Hi, this is a small test PR. There should be no behavioral changes, just removing lints from cargo clippy in the non generated code.