mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-11 22:10:09 +01:00
refactor: make select index optional
This commit is contained in:
parent
195aa34f95
commit
d7b57f204c
3 changed files with 3 additions and 2 deletions
|
|
@ -210,7 +210,7 @@ pub fn select(
|
|||
unreachable!("Select suggestion does not support range");
|
||||
}
|
||||
} else {
|
||||
unreachable!("Select suggestion must have a command index");
|
||||
0
|
||||
};
|
||||
|
||||
let selection_list = if suggest.contains('(') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue