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

refactor: Conform to api guidelines #24

Merged
merged 4 commits into from
Feb 11, 2023
Merged

Conversation

ev3nvy
Copy link
Owner

@ev3nvy ev3nvy commented Feb 11, 2023

This PR makes various changes for the project to conform to rust's API guidelines.

None of these changes are breaking changes.

Some structs were missing `Copy` implementations.
Specifically to "The error message given by the Display representation
of an error type should be lowercase without trailing punctuation, and
typically concise."
Although this doesn't seem as broadly adapted, seems like a good idea,
because I do agree with "Like it or not, example code is often copied
verbatim by users. Unwrapping an error should be a conscious decision
that the user needs to make."
@ev3nvy ev3nvy added status: completed Issue was resolved, or pull request was merged type: refactor Issue or pull request related to code refactoring labels Feb 11, 2023
@ev3nvy ev3nvy added this to the v0.1.0 milestone Feb 11, 2023
@ev3nvy ev3nvy merged commit 6de8ad9 into develop Feb 11, 2023
@ev3nvy ev3nvy deleted the conform-to-api-guidelines branch February 11, 2023 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: completed Issue was resolved, or pull request was merged type: refactor Issue or pull request related to code refactoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant