diff options
author | qkzk <qu3nt1n@gmail.com> | 2023-12-21 14:07:51 +0100 |
---|---|---|
committer | qkzk <qu3nt1n@gmail.com> | 2023-12-21 14:07:51 +0100 |
commit | 55ddc75850cea35c8950ac45d200c01e66261f69 (patch) | |
tree | b761855c501c4bfb6b4dbe110df54b25281b2ecf | |
parent | c5cd1b0c0bd56cef3a3684c6afc75f7d2851c819 (diff) |
remove useless affectation
-rw-r--r-- | src/modes/edit/menu.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modes/edit/menu.rs b/src/modes/edit/menu.rs index 864ae1d..8f8480c 100644 --- a/src/modes/edit/menu.rs +++ b/src/modes/edit/menu.rs @@ -76,9 +76,8 @@ pub struct Menu { impl Menu { pub fn new(start_dir: &std::path::Path, mount_points: &[&std::path::Path]) -> Result<Self> { - let window = ContentWindow::new(0, 80); Ok(Self { - window, + window: ContentWindow::new(0, 80), sudo_command: None, compression: Compresser::default(), context: ContextMenu::default(), |