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

#18: revamp Hex #27

Merged
merged 1 commit into from Nov 6, 2022
Merged

#18: revamp Hex #27

merged 1 commit into from Nov 6, 2022

Conversation

UARTman
Copy link
Contributor

@UARTman UARTman commented Nov 6, 2022

This pull request is a minimal re-implementation of Hex as per my suggestion in #18.

The only breaking API change is that .bytes is no longer a field, but a method that returns a slice. However, it didn't break anything except the tests, so I don't think changing it will be a problem.

@codecov-commenter
Copy link

Codecov Report

Merging #27 (a404d42) into master (f7a2038) will increase coverage by 0.27%.
The diff coverage is 73.52%.

@@            Coverage Diff             @@
##           master      #27      +/-   ##
==========================================
+ Coverage   63.06%   63.34%   +0.27%     
==========================================
  Files          16       16              
  Lines        1565     1596      +31     
==========================================
+ Hits          987     1011      +24     
- Misses        578      585       +7     
Impacted Files Coverage Δ
src/lib.rs 38.54% <ø> (+0.99%) ⬆️
src/hex.rs 89.80% <73.52%> (-0.67%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@UARTman
Copy link
Contributor Author

UARTman commented Nov 6, 2022

Another change to be mindful of before merging is that I've moved Hex struct declaration to hex.rs, as proposed in #28 .

@yegor256
Copy link
Member

yegor256 commented Nov 6, 2022

@rultor merge

@rultor
Copy link
Contributor

rultor commented Nov 6, 2022

@rultor merge

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

@rultor rultor merged commit a404d42 into objectionary:master Nov 6, 2022
@rultor
Copy link
Contributor

rultor commented Nov 6, 2022

@rultor merge

@yegor256 Done! FYI, the full log is here (took me 4min)

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

4 participants