Fix warning: unused mut
This commit is contained in:
parent
280d585a25
commit
09894a81b6
1 changed files with 1 additions and 2 deletions
|
@ -44,8 +44,7 @@ impl App {
|
|||
let end = buffer.get_end_iter();
|
||||
|
||||
if let Some(text) = buffer.get_text(&start, &end, false) {
|
||||
let mut mut_text = text;
|
||||
op.lock().unwrap().send_message(mut_text);
|
||||
op.lock().unwrap().send_message(text);
|
||||
}
|
||||
|
||||
buffer.set_text("");
|
||||
|
|
Loading…
Reference in a new issue