Skip to content

Commit f675e1b

Browse files
committed
doctor: Fix some emoji width display issues
Signed-off-by: Lann Martin <[email protected]>
1 parent 2c946e2 commit f675e1b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/commands/doctor.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ impl DoctorCommand {
4747
if should_treat {
4848
match treatment.treat(patient).await {
4949
Ok(()) => {
50-
println!("{icon}Treatment applied!", icon = Emoji("❤ ", ""));
50+
println!("{icon}Treatment applied!", icon = Emoji("❤ ", ""));
5151
}
5252
Err(err) => {
5353
show_error("Treatment failed: ", err);
@@ -61,7 +61,7 @@ impl DoctorCommand {
6161
})
6262
.await?;
6363
if count == 0 {
64-
println!("{icon}No problems found.", icon = Emoji("❤ ", ""));
64+
println!("{icon}No problems found.", icon = Emoji("❤ ", ""));
6565
}
6666
Ok(())
6767
}
@@ -71,7 +71,7 @@ fn show_diagnosis(diagnosis: &dyn Diagnosis) {
7171
let icon = if diagnosis.is_critical() {
7272
Emoji("❗ ", "")
7373
} else {
74-
Emoji("⚠ ", "")
74+
Emoji("⚠ ", "")
7575
};
7676
println!("\n{icon}Diagnosis: {}", diagnosis.description());
7777
}

0 commit comments

Comments
 (0)