astonbitecode / j4rs

Java for Rust
Apache License 2.0
641 stars 36 forks source link

Run `cargo clippy --fix` #117

Closed rukai closed 1 month ago

rukai commented 5 months ago

This PR runs cargo clippy --fix and commits the changes it made. You can reproduce the same changes by running that command yourself.

I have reviewed the changes and not seen anything controversial in there. This includes:

rukai commented 1 month ago

I reran cargo clippy --fix to pull in any new fixes added since june. I added in a separate commit in case you had previously partially reviewed the changes.

One of the new changes was fixing of this lint: https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation clippy --fix resolved the issue by adding more > but I think that in reality this block should use quote blocks which looks much better.

Before: image After: image

The other new change is uncontroversial.

Hoping you'll be able to take a look at this PR as well.

astonbitecode commented 1 month ago

Thanks!