mirror of
https://github.com/xvxx/phetch
synced 2024-11-05 00:00:58 +00:00
clippy
This commit is contained in:
parent
3230256545
commit
82779f5f2a
@ -221,11 +221,9 @@ impl Menu {
|
||||
return Action::Redraw;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if !self.links.is_empty() {
|
||||
self.link = self.links.len() - 1;
|
||||
return Action::Redraw;
|
||||
}
|
||||
} else if !self.links.is_empty() {
|
||||
self.link = self.links.len() - 1;
|
||||
return Action::Redraw;
|
||||
}
|
||||
if let Some(dir) = self.link_visibility(self.link) {
|
||||
match dir {
|
||||
|
Loading…
Reference in New Issue
Block a user