summaryrefslogtreecommitdiffstats
path: root/src/context/app_context.rs
diff options
context:
space:
mode:
authorJeff Zhao <jeff.no.zhao@gmail.com>2023-07-30 12:54:57 -0400
committerJeff Zhao <jeff.no.zhao@gmail.com>2023-07-30 12:54:57 -0400
commit5406d28a4d7dd94b4aa5b515315b25203f7b5677 (patch)
tree20b4922d8e576a95b2298f647f4a8c132dcbf9d7 /src/context/app_context.rs
parent11112087094046da2c6456ddbd9e90f982f86f11 (diff)
parent5b9fe16bc9f3ea57f329e531ae652d684b1876e9 (diff)
Merge branch 'main' of github.com:kamiyaa/joshuto
Diffstat (limited to 'src/context/app_context.rs')
-rw-r--r--src/context/app_context.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/context/app_context.rs b/src/context/app_context.rs
index 4f605ce..7971562 100644
--- a/src/context/app_context.rs
+++ b/src/context/app_context.rs
@@ -56,7 +56,7 @@ impl AppContext {
let event_tx = events.event_tx.clone();
let mut commandline_context = CommandLineContext::new();
- commandline_context.history_mut().set_max_len(20);
+ let _ = commandline_context.history_mut().set_max_len(20);
let event_tx_for_fs_notification = event_tx.clone();
let watcher = notify::recommended_watcher(move |res| {