Inline redundant variable

This commit is contained in:
Hanno Braun 2024-12-10 19:07:22 +01:00
parent f444996598
commit 5a30ea690d

View File

@ -23,8 +23,7 @@ impl OperationView {
}
pub fn select_last(&mut self) {
let last_index = self.last_index();
self.selected = Some(last_index);
self.selected = Some(self.last_index());
}
pub fn select_next(&mut self) {