Skip to content

Commit 14a8d2a

Browse files
committed
fmt
1 parent d16d550 commit 14a8d2a

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

src/config/mod.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,7 @@ pub fn read_config() -> Result<Config, AppError> {
8585
.to_string_lossy()
8686
.to_string();
8787
if tags.contains_key(&tag_name) {
88-
eprintln!(
89-
"Inconsistency found: tag {tag_name} defined more than once. Will use the project that is found last. Results might be inconsistent."
90-
);
88+
eprintln!("Inconsistency found: tag {tag_name} defined more than once. Will use the project that is found last. Results might be inconsistent.");
9189
}
9290
tags.insert(tag_name, tag);
9391
}

src/main.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@ fn _main() -> i32 {
1414

1515
let config = config::read_config();
1616
if config.is_err() {
17-
eprintln!(
18-
"Could not read v2.0 config: {config:?}. If you are running the setup right now this is expected."
19-
);
17+
eprintln!("Could not read v2.0 config: {config:?}. If you are running the setup right now this is expected.");
2018
};
2119

2220
let subcommand_name = matches.subcommand_name().expect("subcommand required by clap.rs").to_owned();

0 commit comments

Comments
 (0)