cli: Resolve Rust 1.88 clippy lints and format strings#7089
cli: Resolve Rust 1.88 clippy lints and format strings#7089steviez merged 15 commits intoanza-xyz:masterfrom
Conversation
|
This one is going to need more scrutiny; will be reviewing myself before asking anyone else to look |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #7089 +/- ##
=======================================
Coverage 83.4% 83.4%
=======================================
Files 814 814
Lines 366039 366062 +23
=======================================
+ Hits 305433 305477 +44
+ Misses 60606 60585 -21 🚀 New features to boost your workflow:
|
steviez
left a comment
There was a problem hiding this comment.
This PR has a bunch of commits, but all of the manual cleanup was done in individual commits so hopefully easy to follow
| matches: &ArgMatches, | ||
| ) -> Result<(String, String), Box<dyn error::Error>> { | ||
| #[rustfmt::skip] | ||
| const PROMPT: &str = |
There was a problem hiding this comment.
I decided to leave this one as is as this is regularly displayed to users; on the other hand the adjustments to FEE_PAYER_ARG are in help messages only
| @@ -98,7 +98,9 @@ where | |||
| // Return an error if a keypair file cannot be parsed | |||
| #[deprecated( | |||
| since = "1.18.0", | |||
There was a problem hiding this comment.
Lol, deprecated in v1.18! Probably about time we remove them. (Not for this PR though.)
There was a problem hiding this comment.
Yeah, I was going to start peeling this out but there is still some chain of usage so I did not pursue further
Problem
Working towards #6850, broken out from #6854
Summary of Changes
rustfmt::skipattributecargo clippy --fix --testswith Rust 1.88.0 set inrust-toolchain.tomluninlined_format_argscargo fmtwithformat_strings = trueset inrustfmt.toml