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

Reference implementations for Reader and Writer #507

Merged
merged 1 commit into from
Feb 23, 2022

Conversation

BRA1L0R
Copy link
Contributor

@BRA1L0R BRA1L0R commented Feb 22, 2022

I added a Writer implementation for &mut T: Writer, as there's one for Reader already.

I also removed unnecessary lifetime generics from the reference implementation for Reader since they are not needed.

@codecov
Copy link

codecov bot commented Feb 23, 2022

Codecov Report

Merging #507 (d2d9991) into trunk (8f4fcf5) will decrease coverage by 0.08%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##            trunk     #507      +/-   ##
==========================================
- Coverage   70.86%   70.77%   -0.09%     
==========================================
  Files          47       47              
  Lines        3165     3169       +4     
==========================================
  Hits         2243     2243              
- Misses        922      926       +4     
Impacted Files Coverage Δ
src/de/read.rs 70.37% <ø> (ø)
src/enc/write.rs 69.23% <0.00%> (-12.59%) ⬇️
derive/src/attribute.rs 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8f4fcf5...d2d9991. Read the comment docs.

Copy link
Contributor

@VictorKoenders VictorKoenders 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!

@VictorKoenders VictorKoenders merged commit 21eebcb into bincode-org:trunk Feb 23, 2022
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