From 79c6666e1ef88e1d7466d828f77c448bb8af67fc Mon Sep 17 00:00:00 2001 From: Zxilly Date: Sun, 30 Jun 2024 00:07:39 +0800 Subject: [PATCH] style: format with `cargo fmt --all` --- crates/typos-cli/src/bin/typos-cli/report.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/typos-cli/src/bin/typos-cli/report.rs b/crates/typos-cli/src/bin/typos-cli/report.rs index 45557226b..d9aa0d0b9 100644 --- a/crates/typos-cli/src/bin/typos-cli/report.rs +++ b/crates/typos-cli/src/bin/typos-cli/report.rs @@ -154,7 +154,7 @@ fn print_brief_correction(msg: &Typo<'_>) -> Result<(), std::io::Error> { msg.typo, itertools::join( corrections.iter().map(|s| format!("`{good}{}{reset}`", s)), - ", " + ", ", ) )?; } @@ -193,7 +193,7 @@ fn print_long_correction(msg: &Typo<'_>) -> Result<(), std::io::Error> { msg.typo, itertools::join( corrections.iter().map(|s| format!("`{good}{}{reset}`", s)), - ", " + ", ", ) )?; } @@ -348,7 +348,7 @@ mod tests { fn test_calculate_visible_column_width_zwj_sequences() { let zwj_sequences = [ "😵‍💫", /* U+1F635 U+200D U+1F4AB */ - "👁️‍🗨️", /* U+1F441 U+FE0F U+200D U+1F5E8 U+FE0F */ + "👁️‍🗨️", /* U+1F441 U+FE0F U+200D U+1F5E8 U+FE0F */ ]; for (i, ch) in zwj_sequences.iter().enumerate() { let width = calculate_visible_column_width(ch);