mirror of
https://github.com/figsoda/mmtc
synced 2024-11-22 07:03:05 +00:00
clean up
This commit is contained in:
parent
4fb6deca1f
commit
56c0ec1b7b
1 changed files with 2 additions and 2 deletions
|
@ -441,8 +441,8 @@ async fn run() -> Result<()> {
|
|||
} else {
|
||||
continue;
|
||||
}
|
||||
} else if selected < filtered.len() {
|
||||
filtered[selected]
|
||||
} else if let Some(&x) = filtered.get(selected) {
|
||||
x
|
||||
} else {
|
||||
continue;
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue