Skip to content
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

Refactoring: rename serializers #264

Merged
merged 2 commits into from
May 8, 2020

Conversation

liamsi
Copy link
Member

@liamsi liamsi commented May 8, 2020

Context: #255 (comment)

  • Referenced an issue explaining the need for the change
  • Updated all relevant documentation in docs
  • Updated all code comments where relevant
  • Wrote tests
  • Updated CHANGES.md

liamsi added 2 commits May 8, 2020 20:51
 - `cargo clippy --all --all-targets -- -Dwarnings -Drust-2018-idioms`
@liamsi liamsi requested a review from greg-szabo May 8, 2020 18:59
assert_eq!(result.unsigned, 9007199254740992);
assert_eq!(result.signed, -9007199254740994);
assert_eq!(result.unsigned, 9_007_199_254_740_992);
assert_eq!(result.signed, -9_007_199_254_740_994);
Copy link
Member Author

Choose a reason for hiding this comment

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

For some reason clippy doesn't run as strictly as it used to be on CI. There a few places where it complained when run with:
cargo clippy --all --all-targets -- -Dwarnings -Drust-2018-idioms

@liamsi liamsi mentioned this pull request May 8, 2020
5 tasks
Copy link
Member

@greg-szabo greg-szabo left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thanks for the idiomatic fixes too!

@greg-szabo greg-szabo merged commit 89b13ae into greg/serialization-1 May 8, 2020
@greg-szabo greg-szabo deleted the ismail/quick_refactor branch May 8, 2020 23:47
liamsi added a commit that referenced this pull request May 9, 2020
* Simplified primitives serializers, moved duration, hex and base64 serializers into module

* Updated CHANGES.md

* Fixed serializers documentation

* Update CHANGES.md

* Update CHANGES.md

* Refactoring: rename serializers (#264)

* rename/flatten serializer methods (primitives and time_duration)

* Fix all clippy warnings:

 - `cargo clippy --all --all-targets -- -Dwarnings -Drust-2018-idioms`

Co-authored-by: Ismail Khoffi <[email protected]>
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.

2 participants