Sort imports in alphabetical and consistent order

This commit is contained in:
topecongiro 2017-07-13 18:42:14 +09:00
parent 27b04fec1a
commit 6fd291981e
23 changed files with 147 additions and 142 deletions

View file

@ -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() {