summaryrefslogtreecommitdiffstats
path: root/src/commands/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/mod.rs')
-rw-r--r--src/commands/mod.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/commands/mod.rs b/src/commands/mod.rs
index b58fd0f..1185d93 100644
--- a/src/commands/mod.rs
+++ b/src/commands/mod.rs
@@ -142,8 +142,7 @@ pub fn from_args(command: &str, args: Option<&Vec<String>>) -> Option<Box<Joshut
}
}
}
- let paste = self::PasteFiles::new(options);
- Some(Box::new(paste))
+ Some(Box::new(self::PasteFiles::new(options)))
}
"quit" => Some(Box::new(self::Quit::new())),
"reload_dir_list" => Some(Box::new(self::ReloadDirList::new())),