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

improve readability of crate and add encode_to_slice #29

Closed
wants to merge 8 commits into from
Closed

improve readability of crate and add encode_to_slice #29

wants to merge 8 commits into from

Conversation

Luro02
Copy link
Contributor

@Luro02 Luro02 commented Oct 18, 2019

  • moved FromHexError to separate file for easier reading
  • moved traits into a new file (should they be separated?)
  • added an encode_to_slice function (this can be improved with const generics in the future)
  • improved the documentation a little bit

@LukasKalbertodt
Copy link
Contributor

👍 from me for the first three commits. (Although I do like "empty" /// lines after /// # Example lines.)

Regarding last commit: I don't have the time to correctly review this. Sounds useful. But maybe this commit should be in a separate PR so that this PR is only about cleanup and such things?

Also: I'm not the owner of this crate, so I don't have anything to say about merging :)

@KokaKiwi
Copy link
Owner

KokaKiwi commented Oct 18, 2019

Regarding last commit: I don't have the time to correctly review this. Sounds useful. But maybe this commit should be in a separate PR so that this PR is only about cleanup and such things?

Same for me, adding new function(s) and moving stuff around should be separated in different PRs

src/lib.rs Outdated Show resolved Hide resolved
src/lib.rs Outdated Show resolved Hide resolved
@Luro02
Copy link
Contributor Author

Luro02 commented Dec 28, 2019

Closed in favor of #31 and #32

@Luro02 Luro02 closed this Dec 28, 2019
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.

None yet

3 participants