use usize not i32 here

This commit is contained in:
Simon Gardling
2022-04-12 14:19:24 -04:00
parent 36e31fdbc7
commit 945a6289d8
3 changed files with 3 additions and 3 deletions

View File

@@ -80,7 +80,7 @@ impl<'a> AutoComplete<'a> {
self.update_string(&new_string);
}
pub fn ui(&mut self, ui: &mut egui::Ui, func_i: i32) {
pub fn ui(&mut self, ui: &mut egui::Ui, func_i: usize) {
let mut movement: Movement = Movement::default();
let mut new_string = self.string.clone();