Skip to content

Commit

Permalink
chore(cli): Apply clippy lint hints
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Feb 2, 2024
1 parent 4c4a11e commit bb72d7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ impl CONF {
pub fn merge_files(&self) -> Result<()> {
let confs = status::get_confs()?;
let mut config = self.write().expect(ERROR_CONFIG_WRITE);
for (_, conf) in confs.iter().enumerate() {
for conf in confs.iter() {
let f = File::new(conf.to_str().unwrap(), FileFormat::Yaml);
config.merge(f)?;
}
Expand Down

0 comments on commit bb72d7e

Please sign in to comment.