diff options
author | Ivan Tham | 2021-06-15 03:57:16 +0000 |
---|---|---|
committer | BenoƮt Cortier | 2021-06-15 04:17:04 +0000 |
commit | 05ed3e8fb85ea31207d901180544dc883e45a008 (patch) | |
tree | ccb3ce594d1b373f55ba3ff9eaa14fe558f0f90e /helix-term/src | |
parent | 002f1ad397a6fff4fec044e05a8784c643a04d48 (diff) |
Remove unused variables
Diffstat (limited to 'helix-term/src')
-rw-r--r-- | helix-term/src/commands.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index 0f2a29c6..10d5e264 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -715,8 +715,6 @@ pub fn search(cx: &mut Context) { let view_id = view.id; let prompt = ui::regex_prompt(cx, "search:".to_string(), move |view, doc, regex| { - let text = doc.text(); - let start = doc.selection(view.id).cursor(); _search(doc, view, &contents, ®ex, false); // TODO: only store on enter (accept), not update |