Closed magnusuMET closed 4 years ago
Thanks for the suggestion, should definitely learn how to do this properly.
clippy is available as rustup component add clippy
, could also use rustup component add rustfmt
and run cargo fmt
Thanks, I did have it in there, but removed it since clippy was not available in nightly. rustmft should probably also be run.
(btw: maybe you have some thoughts on #3, but I'm pretty sure the error is not in netcdf)
You'll have to run cargo fmt -- --check
to emit build failure
Criticals fixed, deal with rest as we go.
A lot of unneccessary strings are created when handling the errors, using the pattern
This will always evaluate the
anyhow
, even when not used. This is a lint in clippy, which also picks up some other "errors"