-
Notifications
You must be signed in to change notification settings - Fork 159
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
Subset of Forest Maintenance Tasks (Part 2) #1571
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1571 +/- ##
==========================================
- Coverage 39.89% 34.50% -5.40%
==========================================
Files 236 207 -29
Lines 15902 23378 +7476
==========================================
+ Hits 6344 8066 +1722
- Misses 9558 15312 +5754
Continue to review full report at Codecov.
|
Many occurrences of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lemmih is right, I'd extend it to all other places where you changed ?
to unwrap
. In general, if a method returns a Result
, I don't expect it to panic. Please apply here the Principle of least astonishment for poor me. :)
What do you guys suggest instead of using unwrap here? I had to remove the |
What do you think about |
Summary of changes
Changes introduced in this pull request:
To be removed
Box<dyn Error>
in favor ofanyhow::Error
Reference issue to close (if applicable)
Closes corresponding task in #1536
Other information and links
N/A