Apply nightly clippy fixes (#9381)

# Description
New lints coming from `cargo +nightly clippy`

Manually checked for problems.


# User-Facing Changes
None

# Tests + Formatting
(-)
This commit is contained in:
Stefan Holderbach
2023-06-08 18:49:58 +02:00
committed by GitHub
parent 74ba00a222
commit a5dd93d154
8 changed files with 21 additions and 23 deletions

View File

@ -111,7 +111,7 @@ pub fn create_commands(registry: &mut CommandRegistry) {
registry.register_command_view(ConfigCmd::default(), true);
registry.register_command_view(HelpCmd::default(), true);
registry.register_command_reactive(QuitCmd::default());
registry.register_command_reactive(QuitCmd);
registry.register_command_reactive(TweakCmd::default());
}