informationsea / xlsxwriter-rs

Excel file writer for Rust
https://crates.io/crates/xlsxwriter
Apache License 2.0
265 stars 44 forks source link

Make clippy (mostly) happy #49

Closed adriandelgado closed 1 year ago

adriandelgado commented 1 year ago

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.