Skip to content

Commit

Permalink
Fix various small clippy issues
Browse files Browse the repository at this point in the history
  • Loading branch information
a-kenji committed Aug 13, 2024
1 parent d10ca32 commit 710e78b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/commands/cursor_move.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ pub fn cursor_move(app_state: &mut AppState, new_index: usize) {
if new_index >= dir_len {
new_index = dir_len - 1;
}
curr_list.set_index(Some(new_index), &ui_state, &display_options);
curr_list.set_index(Some(new_index), &ui_state, display_options);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/config/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ impl From<AppConfigRaw> for AppConfig {
display_options: DisplayOption::from(raw.display_options),
preview_options: PreviewOption::from(raw.preview_options),
search_options: raw.search_options,
tab_options: TabOption::from(raw.tab_options),
tab_options: raw.tab_options,
custom_commands: raw.custom_commands,
}
}
Expand Down

0 comments on commit 710e78b

Please sign in to comment.