Skip to content

Commit

Permalink
chore: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
cangzhang committed Jul 12, 2023
1 parent 3266966 commit 36daffc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ pub fn read_and_init() -> Config {
}

fs::remove_file(CONFIG_FILE_PATH).unwrap();
return init_conf_file();
init_conf_file()
}

impl Config {
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ impl Application for ChampR {
.iter()
.map(|s| s.value.clone())
.collect::<Vec<String>>(),
Some(current_rune_source.clone()),
Some(current_rune_source),
Message::OnSelectRuneSource,
),
avatar_row.padding(Padding::from([0, 8, 0, 0])),
Expand Down

0 comments on commit 36daffc

Please sign in to comment.