Skip to content

Commit 7c45aa9

Browse files
committed
chore: just format
1 parent 99e0775 commit 7c45aa9

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

harper-cli/src/main.rs

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -235,10 +235,7 @@ fn main() -> anyhow::Result<()> {
235235
"'{}' is already in the dictionary but not annotated.",
236236
arg_bare_word
237237
),
238-
_ => format!(
239-
"'{}' is not in the dictionary yet.",
240-
arg_bare_word
241-
),
238+
_ => format!("'{}' is not in the dictionary yet.", arg_bare_word),
242239
};
243240

244241
let mut different_annot = false;
@@ -257,7 +254,8 @@ fn main() -> anyhow::Result<()> {
257254
);
258255
} else {
259256
status_summary.push_str(
260-
format!("\n Your annotations are the same as the dictionary.\n").as_str(),
257+
format!("\n Your annotations are the same as the dictionary.\n")
258+
.as_str(),
261259
);
262260
}
263261
}
@@ -287,7 +285,8 @@ fn main() -> anyhow::Result<()> {
287285
};
288286

289287
let should_print_old_info = already_annotated;
290-
let should_print_new_info = arg_annot.is_some() && (!already_annotated || different_annot);
288+
let should_print_new_info =
289+
arg_annot.is_some() && (!already_annotated || different_annot);
291290

292291
if should_print_old_info {
293292
println!("Old, from the dictionary:");

0 commit comments

Comments
 (0)