Skip to content

Commit

Permalink
fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeHalasy committed Oct 8, 2023
1 parent 9f74a7f commit c2663d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ use serde::{
de::{self, Visitor},
Deserialize,
};

#[allow(unused_imports)]
use strum::{EnumIter, IntoEnumIterator};

pub static CONFIG: OnceLock<Config> = OnceLock::new();
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ See https://github.com/Piturnah/gex/issues/13.", MessageType::Error);
state.branch_list.cursor = state.branch_list.cursor.saturating_sub(1);
}
Some(Action::GotoBottom) => {
state.branch_list.cursor = state.branch_list.branches.len() - 1
state.branch_list.cursor = state.branch_list.branches.len() - 1;
}
Some(Action::GotoTop) => state.branch_list.cursor = 0,
_ => {}
Expand Down

0 comments on commit c2663d2

Please sign in to comment.