Skip to content

Commit b7ba6f7

Browse files
authored
Merge pull request #2576 from topecongiro/merge-imports
Use normalized form to format use items
2 parents 0156fe0 + 78e09bd commit b7ba6f7

File tree

10 files changed

+755
-768
lines changed

10 files changed

+755
-768
lines changed

src/attr.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
//! Format attributes and meta items.
1212
13-
use config::IndentStyle;
1413
use config::lists::*;
14+
use config::IndentStyle;
1515
use syntax::ast;
1616
use syntax::codemap::Span;
1717

src/comment.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
// Formatting and tools for comments.
1212

13-
use std::{self, iter, borrow::Cow};
13+
use std::{self, borrow::Cow, iter};
1414

1515
use itertools::{multipeek, MultiPeek};
1616
use syntax::codemap::Span;

src/config/lists.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
//! Configuration options related to rewriting a list.
1212
13-
use config::IndentStyle;
1413
use config::config_type::ConfigType;
14+
use config::IndentStyle;
1515

1616
/// The definitive formatting tactic for lists.
1717
#[derive(Eq, PartialEq, Debug, Copy, Clone)]

0 commit comments

Comments
 (0)