mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-22 05:52:23 -05:00
Remove inline
This commit is contained in:
parent
700605ff35
commit
0ae66d1860
1 changed files with 0 additions and 2 deletions
|
@ -148,14 +148,12 @@ impl<'a> UiState<'a> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[inline]
|
|
||||||
pub fn select_first(&mut self) {
|
pub fn select_first(&mut self) {
|
||||||
if self.n_rows > 0 {
|
if self.n_rows > 0 {
|
||||||
self.table_state.select(Some(0));
|
self.table_state.select(Some(0));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[inline]
|
|
||||||
pub fn select_last(&mut self) {
|
pub fn select_last(&mut self) {
|
||||||
if self.n_rows > 0 {
|
if self.n_rows > 0 {
|
||||||
self.table_state.select(Some(self.n_rows - 1));
|
self.table_state.select(Some(self.n_rows - 1));
|
||||||
|
|
Loading…
Reference in a new issue