Skip to content

Commit

Permalink
style: Make rustfmt happy
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Aug 7, 2023
1 parent 4e387e6 commit 1029a14
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions crates/committed/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,7 @@ fn resolve_bool_arg(yes: bool, no: bool) -> Option<bool> {
}
}

#[derive(Debug, Copy, Clone, PartialEq, Eq, clap::ValueEnum)]
#[derive(Default)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, clap::ValueEnum, Default)]
enum Format {
Silent,
#[default]
Expand All @@ -117,8 +116,6 @@ impl Format {
}
}



fn load_toml(path: &std::path::Path) -> Result<config::Config, anyhow::Error> {
let mut f = fs::File::open(path)?;
let mut text = String::new();
Expand Down

0 comments on commit 1029a14

Please sign in to comment.