From 6fd291981e1bb7deba30644c09798087e84203ec Mon Sep 17 00:00:00 2001 From: topecongiro Date: Thu, 13 Jul 2017 18:42:14 +0900 Subject: Sort imports in alphabetical and consistent order --- src/string.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/string.rs') 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 #[cfg(test)] mod test { - use super::{StringFormat, rewrite_string}; + use super::{rewrite_string, StringFormat}; #[test] fn issue343() { -- cgit 1.4.1-3-g733a5