This PR takes care of a lot of warnings coming from the command cargo clippy -- -W clippy::pedantic.
While doing that, It reduced some unnecessary panics and errors. It also fixed some fix here comments.
The PR also has some small refactoring to be closer to Rust's conventions, but without changing the public API. This is why there are some warnings left.
This PR takes care of a lot of warnings coming from the command
cargo clippy -- -W clippy::pedantic
.While doing that, It reduced some unnecessary panics and errors. It also fixed some
fix here
comments.The PR also has some small refactoring to be closer to Rust's conventions, but without changing the public API. This is why there are some warnings left.