Remove unused function
This commit is contained in:
parent
2f60b0390e
commit
44470b973d
1 changed files with 0 additions and 8 deletions
|
|
@ -58,14 +58,6 @@ impl<Id: Clone> InnerListState<Id> {
|
|||
.find_map(|(i, r)| r.as_ref().map(|c| Cursor::new(c.clone(), i)))
|
||||
}
|
||||
|
||||
fn last_selectable(&self) -> Option<Cursor<Id>> {
|
||||
self.rows
|
||||
.iter()
|
||||
.enumerate()
|
||||
.rev()
|
||||
.find_map(|(i, r)| r.as_ref().map(|c| Cursor::new(c.clone(), i)))
|
||||
}
|
||||
|
||||
fn selectable_at_or_before_index(&self, i: usize) -> Option<Cursor<Id>> {
|
||||
self.rows
|
||||
.iter()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue