summaryrefslogtreecommitdiffstats
path: root/src/commands/command_line.rs
diff options
context:
space:
mode:
authorKasper Juul Hermansen <contact@kjuulh.io>2023-07-19 02:52:00 +0200
committerGitHub <noreply@github.com>2023-07-18 20:52:00 -0400
commita8dca77e39f01637c735b7eec2ea9bf00cbc9af3 (patch)
tree54afc3ea6e80fc0c0698f17c258526e33642b65b /src/commands/command_line.rs
parentad6fcad33033f0966874588590b70963b23f0b99 (diff)
chore: cleanup warnings (#365)
Signed-off-by: kjuulh <contact@kjuulh.io>
Diffstat (limited to 'src/commands/command_line.rs')
-rw-r--r--src/commands/command_line.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/command_line.rs b/src/commands/command_line.rs
index 608e5dd..5a311b9 100644
--- a/src/commands/command_line.rs
+++ b/src/commands/command_line.rs
@@ -24,7 +24,7 @@ pub fn read_and_execute(
if let Some(s) = user_input {
let trimmed = s.trim_start();
- context.commandline_context_mut().history_mut().add(trimmed);
+ let _ = context.commandline_context_mut().history_mut().add(trimmed);
let command = Command::from_str(trimmed)?;
command.execute(context, backend, keymap_t)
} else {