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

Update code to be more inline with the Rust API style #65

Merged
merged 1 commit into from
Aug 1, 2021

Conversation

jbangelo
Copy link
Collaborator

@jbangelo jbangelo commented Aug 1, 2021

As mentioned in #63 (comment) we have several inconsistencies in the function naming style and a few clippy warnings to clean up.

  • Remove get_ prefix on getter functions
  • Clean up some pattern matching logic per clippy advice
  • Make to_ conversion functions consume self to match common convention

@jbangelo jbangelo merged commit d843a93 into master Aug 1, 2021
@jbangelo jbangelo deleted the jbangelo/update-to-styleguide branch August 1, 2021 22:16
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.

4 participants