fix clippy suggestions
This commit is contained in:
@@ -43,7 +43,7 @@ pub fn ui(frame: &mut Frame, app: &AppState) {
|
||||
let mut currentItems = Vec::<ListItem>::new();
|
||||
for (i, e) in app.entries.iter().enumerate() {
|
||||
currentItems.push(ListItem::new(Line::from(Span::styled(
|
||||
format!("{}. {}", i, e),
|
||||
format!("{i}. {e}"),
|
||||
Style::default().fg(Color::Yellow),
|
||||
))));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user