Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@CasperN
Copy link
Collaborator

@CasperN CasperN commented Aug 16, 2019

Hi, this is a small test PR. There should be no behavioral changes, just removing lints from cargo clippy in the non generated code.

@CasperN CasperN marked this pull request as ready for review August 16, 2019 18:34
@rw
Copy link
Contributor

rw commented Aug 16, 2019

@CasperN Cool! Looks like you also added some code along with the clippy stuff?

pub struct TableFinishedWIPOffset {}

/// TableUnfinishedWIPOffset marks a WIPOffset as being for an unfinished table.
// TableUnfinishedWIPOffset marks a WIPOffset as being for an unfinished table.
Copy link
Collaborator Author

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fixed

@CasperN
Copy link
Collaborator Author

CasperN commented Aug 16, 2019

I fixed the clippy lints, which involved writing some code (e.g. replace the assert_eq for floats) and also I added more derives

@aardappel
Copy link
Collaborator

Ignore Travis Android CI fail.

@CasperN
Copy link
Collaborator Author

CasperN commented Aug 20, 2019

Thanks Wouter, I was wondering how'd that break

@CasperN
Copy link
Collaborator Author

CasperN commented Aug 20, 2019

@rw care to comment?

Copy link
Contributor

@rw rw left a 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

@CasperN
Copy link
Collaborator Author

CasperN commented Sep 2, 2019

Bump @rw

@rw
Copy link
Contributor

rw commented Sep 3, 2019

@CasperN awesome work! Added more comments. Thanks for the bump :-]

@CasperN CasperN changed the title Rust: Ran cargo clippy on non-generated code Rust: Fixed cargo clippy on non-generated code Sep 4, 2019
@rw
Copy link
Contributor

rw commented Sep 6, 2019

LGTM, merge when CI passes.

@aardappel
Copy link
Collaborator

CI problem unrelated.
Thanks @CasperN !

@aardappel aardappel merged commit c028287 into google:master Sep 9, 2019
LuckyRu pushed a commit to LuckyRu/flatbuffers that referenced this pull request Oct 2, 2020
* Cargo clippy lints

* more lints

* more lints

* Restored a doc comment

* Comment on float eps-eq and adjusted casting
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.

3 participants