Sort imports in alphabetical and consistent order
This commit is contained in:
parent
27b04fec1a
commit
6fd291981e
23 changed files with 147 additions and 142 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue