Fix warning: unused mut

This commit is contained in:
Alejandro Domínguez 2018-12-31 16:07:18 +01:00 committed by Jordan Petridis
parent 280d585a25
commit 09894a81b6

View file

@ -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("");