Enable nursery rules: 'redundant_clone', 'debug_assert_with_mut_call', and 'unused_peekable' (#13920)

This commit is contained in:
Micha Reiser 2024-10-25 09:46:30 +02:00 committed by GitHub
parent 337af836d3
commit 32b57b2ee4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 28 additions and 28 deletions

View file

@ -144,7 +144,7 @@ pub fn main() -> ExitStatus {
}
fn run() -> anyhow::Result<ExitStatus> {
let args = Args::parse_from(std::env::args().collect::<Vec<_>>());
let args = Args::parse_from(std::env::args());
if matches!(args.command, Some(Command::Server)) {
return run_server().map(|()| ExitStatus::Success);