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" instead of "try_from" #65

Merged
merged 1 commit into from
Jan 18, 2024

Conversation

cakebaker
Copy link
Contributor

This PR replaces some try_from with from in order to fix warnings from unnecessary_fallible_conversions lint.

Fixes warnings from "unnecessary_fallible_conversions" lint
Copy link

codecov bot commented Jan 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (03b8d10) 94.97% compared to head (b5bf2b4) 95.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #65      +/-   ##
==========================================
+ Coverage   94.97%   95.00%   +0.02%     
==========================================
  Files           4        4              
  Lines         956      960       +4     
==========================================
+ Hits          908      912       +4     
  Misses         48       48              
Flag Coverage Δ
macos_latest 99.33% <ø> (+<0.01%) ⬆️
ubuntu_latest ?
windows_latest 94.51% <100.00%> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@sylvestre sylvestre merged commit 5a2fd8e into uutils:main Jan 18, 2024
14 checks passed
@cakebaker cakebaker deleted the fix_clippy_warnings branch January 18, 2024 09:19
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