about summary refs log tree commit diff
path: root/src/string.rs
diff options
context:
space:
mode:
authortopecongiro <seuchida@gmail.com>2017-07-13 18:42:14 +0900
committertopecongiro <seuchida@gmail.com>2017-07-13 18:42:14 +0900
commit6fd291981e1bb7deba30644c09798087e84203ec (patch)
treedb1d8913bb1c5374dbfd34afecd76bc791617aaf /src/string.rs
parent27b04fec1a05b4ebf034dcd466a04bb40fd06f4f (diff)
Sort imports in alphabetical and consistent order
Diffstat (limited to 'src/string.rs')
-rw-r--r--src/string.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/string.rs b/src/string.rs
index 3efb406e796..00d8c0875e5 100644
--- a/src/string.rs
+++ b/src/string.rs
@@ -10,14 +10,14 @@
 
 // Format string literals.
 
-use unicode_segmentation::UnicodeSegmentation;
 use regex::Regex;
+use unicode_segmentation::UnicodeSegmentation;
 
 use Shape;
 use config::Config;
 use utils::wrap_str;
 
-use MIN_STRING;
+const MIN_STRING: usize = 10;
 
 pub struct StringFormat<'a> {
     pub opener: &'a str,
@@ -127,7 +127,7 @@ pub fn rewrite_string<'a>(orig: &str, fmt: &StringFormat<'a>) -> Option<String>
 
 #[cfg(test)]
 mod test {
-    use super::{StringFormat, rewrite_string};
+    use super::{rewrite_string, StringFormat};
 
     #[test]
     fn issue343() {