about summary refs log tree commit diff
path: root/src/string.rs
diff options
context:
space:
mode:
authorYacin Tmimi <yacintmimi@gmail.com>2024-09-10 01:15:02 -0400
committerYacin Tmimi <yacintmimi@gmail.com>2024-09-10 01:15:02 -0400
commit348a499e8bdd693df5be60bca4e6d9cef5230d0c (patch)
treecd61736b244e71c4e0f55c78a30366b3307c6f86 /src/string.rs
parente1712ea92f008e3e58cecda8716cfb669f4e62ca (diff)
parent182a20378b3a844e3677ff93d96f8ac70b9f009a (diff)
downloadrust-348a499e8bdd693df5be60bca4e6d9cef5230d0c.tar.gz
rust-348a499e8bdd693df5be60bca4e6d9cef5230d0c.zip
Merge remote-tracking branch 'upstream/master' into subtree-push-nightly-2024-09-10
Diffstat (limited to 'src/string.rs')
-rw-r--r--src/string.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string.rs b/src/string.rs
index cb666fff695..41fddeb517e 100644
--- a/src/string.rs
+++ b/src/string.rs
@@ -375,7 +375,7 @@ fn graphemes_width(graphemes: &[&str]) -> usize {
 
 #[cfg(test)]
 mod test {
-    use super::{break_string, detect_url, rewrite_string, SnippetState, StringFormat};
+    use super::{SnippetState, StringFormat, break_string, detect_url, rewrite_string};
     use crate::config::Config;
     use crate::shape::{Indent, Shape};
     use unicode_segmentation::UnicodeSegmentation;