rsocket / rsocket-rust

RSocket Rust Implementation using Tokio
Apache License 2.0
199 stars 20 forks source link

Make `clippy` happy #55

Closed adoerr closed 2 years ago

adoerr commented 2 years ago

Make clippy happy

Motivation:

Fix existing clippy issues so newly introduced issues are easier to detect.

The specific clippy command used was

cargo +nightly clippy --all-features

New clippy lints to get added frequently, hence using nightly

Modifications:

I think over time, we should strive to fix the currently ignored clippy issues as well. IMO, clippy is really helpful to maintain idiomatic code and the few false-positive could be easily manged.

Result:

No more complains from clippy

jjeffcaii commented 2 years ago

Thanks!