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

Use From<ReadError> #82

Merged
merged 1 commit into from
May 21, 2024
Merged

Use From<ReadError> #82

merged 1 commit into from
May 21, 2024

Conversation

msk
Copy link
Member

@msk msk commented May 20, 2024

Since ReadError provides From<ReadError> to convert to io::Error, we can use it to simplify the code.

Since `ReadError` provides `From<ReadError>` to convert to `io::Error`,
we can use it to simplify the code.
@msk msk added the refactor Code refactoring label May 20, 2024
@msk msk mentioned this pull request May 20, 2024
Copy link

codecov bot commented May 20, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 83.77%. Comparing base (7d27ea8) to head (032da30).

Files Patch % Lines
src/frame.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main      #82       +/-   ##
===========================================
+ Coverage   73.26%   83.77%   +10.50%     
===========================================
  Files           4        4               
  Lines         303      265       -38     
===========================================
  Hits          222      222               
+ Misses         81       43       -38     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@msk msk merged commit 032da30 into main May 21, 2024
14 of 16 checks passed
@msk msk deleted the from-read-error branch May 21, 2024 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Code refactoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant