clippy
This commit is contained in:
parent
04201de443
commit
7317d89382
@ -36,7 +36,7 @@ impl<'a> AutoComplete<'a> {
|
|||||||
fn changed(&mut self, string: &str) {
|
fn changed(&mut self, string: &str) {
|
||||||
let new_func_option = Some(string.to_string());
|
let new_func_option = Some(string.to_string());
|
||||||
if self.string != new_func_option {
|
if self.string != new_func_option {
|
||||||
self.string = new_func_option.clone();
|
self.string = new_func_option;
|
||||||
self.hint = generate_hint(string);
|
self.hint = generate_hint(string);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user