This commit is contained in:
figsoda 2020-11-16 18:42:34 -05:00
parent 4fb6deca1f
commit 56c0ec1b7b

View file

@ -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;
})