mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-03 17:38:27 +00:00
Inline redundant variable
This commit is contained in:
parent
f444996598
commit
5a30ea690d
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user