cargo clippy

This commit is contained in:
Henrik Friedrichsen
2020-08-23 20:35:16 +02:00
parent 1edf28a165
commit 6f7b64c908
6 changed files with 9 additions and 10 deletions

View File

@@ -191,7 +191,6 @@ impl CommandManager {
let local = if let Some(mut contextmenu) = s.find_name::<ContextMenu>("contextmenu") {
contextmenu.on_command(s, cmd)?
} else {
debug!("no contextmenu");
let mut main = s
.find_name::<Layout>("main")
.expect("could not find layout");