rust-pcap / pcap

Rust language pcap library
Apache License 2.0
595 stars 138 forks source link

clippy: variables can be used directly in the format! string #292

Closed Wojtek242 closed 1 year ago

Wojtek242 commented 1 year ago

Allowing the lint instead of fixing as the oldest rust compiler supported by pcap does not support the new feature.

Stargateur commented 1 year ago

This lint is aware of the MSRV:

https://github.com/rust-lang/rust-clippy/blob/54e929bddee5934c527894fabee8a2c48531a795/clippy_lints/src/format_args.rs#L205

https://github.com/rust-lang/rust-clippy/issues/10087, Can we add msrv field without get a warning ?