summaryrefslogtreecommitdiffstats
path: root/src/commands/command_line.rs
diff options
context:
space:
mode:
authorJiayi Zhao <jeff.no.zhao@gmail.com>2020-03-16 21:02:35 -0400
committerJiayi Zhao <jeff.no.zhao@gmail.com>2020-03-16 21:02:35 -0400
commita0286692964d120ee8a6ea36fbfb2f577dc2305c (patch)
tree453f2dbecd19f5d68d421f18c9e9f6b91bf1d96f /src/commands/command_line.rs
parent1475597b83fa0afbb6ddec979f6a8030a8c64db9 (diff)
cargo clippy
Diffstat (limited to 'src/commands/command_line.rs')
-rw-r--r--src/commands/command_line.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/commands/command_line.rs b/src/commands/command_line.rs
index f44c4a5..0714ed2 100644
--- a/src/commands/command_line.rs
+++ b/src/commands/command_line.rs
@@ -58,7 +58,6 @@ impl std::fmt::Display for CommandLine {
impl JoshutoRunnable for CommandLine {
fn execute(&self, context: &mut JoshutoContext, backend: &mut TuiBackend) -> JoshutoResult<()> {
- let res = self.readline(context, backend);
- res
+ self.readline(context, backend)
}
}