Remove unnecessary unwrap
/expect
from codebase and improve error handling
#140
Labels
A-errors
Area: error handling needs improvement
A-meta
Area: Project wide
C-enhancement
Category: New feature or request
There are still a lot of instances of
unwrap
/expect
within the code base of rustic_core.We should activate the clippy lints:
#![deny(clippy::expect_used)]
and#![deny(clippy::unwrap_used)]
and tackle this issue. If we want to userustic_core
for GUI and other things, it shouldn't panic in circumstances that we can fix with good error handling.CC: rustic-rs/rustic#981
The text was updated successfully, but these errors were encountered: