diff options
author | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2019-03-02 17:40:46 -0500 |
---|---|---|
committer | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2019-03-02 17:40:46 -0500 |
commit | c8c5e39e691cf7a823247a8b43b743a772b62e0a (patch) | |
tree | 15a3633d4ba6700da88dc05bf96c419f53e98916 | |
parent | d6e7cbd70841fa2c31181cb3d9588dcaf2a32ede (diff) |
cargo fmt
-rw-r--r-- | src/commands/search.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/search.rs b/src/commands/search.rs index 96ec94e..75a4f99 100644 --- a/src/commands/search.rs +++ b/src/commands/search.rs @@ -3,8 +3,8 @@ use std::sync::Mutex; use crate::commands::{CursorMove, JoshutoCommand, JoshutoRunnable}; use crate::context::JoshutoContext; -use crate::textfield::JoshutoTextField; use crate::tab::JoshutoTab; +use crate::textfield::JoshutoTextField; use crate::ui; lazy_static! { @@ -86,7 +86,7 @@ impl JoshutoRunnable for Search { CursorMove::cursor_move(index, context); } let mut data = search_pattern.lock().unwrap(); - *data = Some(user_input); + *data = Some(user_input); ncurses::doupdate(); } } |