-
Notifications
You must be signed in to change notification settings - Fork 893
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c7c57f8
commit b636723
Showing
14 changed files
with
874 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
use a::{item /* comment */}; | ||
use b::{ | ||
a, | ||
// comment | ||
item, | ||
}; | ||
use c::item /* comment */; | ||
use d::item; // really long comment (with `use` exactly 100 characters) ____________________________ | ||
|
||
use std::e::{/* it's a comment! */ bar /* and another */}; | ||
use std::f::{/* it's a comment! */ bar}; | ||
use std::g::{bar /* and another */}; |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
// rustfmt-imports_layout: Horizontal | ||
|
||
use std::{ | ||
fs, | ||
// (temporarily commented, we'll need this again in a second) io, | ||
}; | ||
|
||
use foo::{ | ||
self // this is important | ||
}; | ||
|
||
use foo :: bar | ||
; | ||
|
||
use foo::{bar}; | ||
|
||
use foo::{ | ||
bar | ||
// abc | ||
}; | ||
|
||
use foo::{ | ||
bar, | ||
// abc | ||
}; | ||
|
||
use foo::{ | ||
// 345 | ||
bar | ||
}; | ||
|
||
use foo::{ | ||
self | ||
// abc | ||
}; | ||
|
||
use foo::{ | ||
self, | ||
// abc | ||
}; | ||
|
||
use foo::{ | ||
// 345 | ||
self | ||
}; | ||
|
||
use foo::{ | ||
self // a | ||
, | ||
}; | ||
|
||
use foo::{ self /* a */ }; | ||
|
||
use foo::{ self /* a */, }; | ||
|
||
use foo::{ | ||
// abc | ||
abc::{ | ||
xyz | ||
// 123 | ||
} | ||
}; | ||
|
||
use foo::{ | ||
// abc | ||
bar, | ||
abc | ||
}; | ||
|
||
use foo::{ | ||
bar, | ||
// abc | ||
abc | ||
}; | ||
|
||
use foo::{ | ||
bar, | ||
abc | ||
// abc | ||
}; | ||
|
||
use foo::{ | ||
bar, | ||
abc, | ||
// abc | ||
}; | ||
|
||
use foo::{ | ||
self, | ||
// abc | ||
abc::{ | ||
xyz | ||
// 123 | ||
} | ||
}; | ||
|
||
use foo::{ | ||
self, | ||
// abc | ||
abc::{ | ||
// 123 | ||
xyz | ||
} | ||
}; | ||
|
||
use path::{self /*comment*/,}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
// rustfmt-imports_layout: HorizontalVertical | ||
|
||
use std::{ | ||
fs, | ||
// (temporarily commented, we'll need this again in a second) io, | ||
}; | ||
|
||
use foo::{ | ||
self // this is important | ||
}; | ||
|
||
use foo :: bar | ||
; | ||
|
||
use foo::{bar}; | ||
|
||
use foo::{ | ||
bar | ||
// abc | ||
}; | ||
|
||
use foo::{ | ||
bar, | ||
// abc | ||
}; | ||
|
||
use foo::{ | ||
// 345 | ||
bar | ||
}; | ||
|
||
use foo::{ | ||
self | ||
// abc | ||
}; | ||
|
||
use foo::{ | ||
self, | ||
// abc | ||
}; | ||
|
||
use foo::{ | ||
// 345 | ||
self | ||
}; | ||
|
||
use foo::{ | ||
self // a | ||
, | ||
}; | ||
|
||
use foo::{ self /* a */ }; | ||
|
||
use foo::{ self /* a */, }; | ||
|
||
use foo::{ | ||
// abc | ||
abc::{ | ||
xyz | ||
// 123 | ||
} | ||
}; | ||
|
||
use foo::{ | ||
// abc | ||
bar, | ||
abc | ||
}; | ||
|
||
use foo::{ | ||
bar, | ||
// abc | ||
abc | ||
}; | ||
|
||
use foo::{ | ||
bar, | ||
abc | ||
// abc | ||
}; | ||
|
||
use foo::{ | ||
bar, | ||
abc, | ||
// abc | ||
}; | ||
|
||
use foo::{ | ||
self, | ||
// abc | ||
abc::{ | ||
xyz | ||
// 123 | ||
} | ||
}; | ||
|
||
use foo::{ | ||
self, | ||
// abc | ||
abc::{ | ||
// 123 | ||
xyz | ||
} | ||
}; | ||
|
||
use path::{self /*comment*/,}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
use std::{ | ||
fs, | ||
// (temporarily commented, we'll need this again in a second) io, | ||
}; | ||
|
||
use foo::{ | ||
self // this is important | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
// rustfmt-imports_granularity: Item | ||
|
||
use std::{ | ||
fs, | ||
// (temporarily commented, we'll need this again in a second) io, | ||
}; | ||
|
||
use foo::{ | ||
self // this is important | ||
}; | ||
|
||
use foo :: bar | ||
; | ||
|
||
use foo::{bar}; | ||
|
||
use foo::{ | ||
bar | ||
// abc | ||
}; | ||
|
||
use foo::{ | ||
bar, | ||
// abc | ||
}; | ||
|
||
use foo::{ | ||
// 345 | ||
bar | ||
}; | ||
|
||
use foo::{ | ||
self | ||
// abc | ||
}; | ||
|
||
use foo::{ | ||
self, | ||
// abc | ||
}; | ||
|
||
use foo::{ | ||
// 345 | ||
self | ||
}; | ||
|
||
use foo::{ | ||
self // a | ||
, | ||
}; | ||
|
||
use foo::{ self /* a */ }; | ||
|
||
use foo::{ self /* a */, }; | ||
|
||
use foo::{ | ||
// abc | ||
abc::{ | ||
xyz | ||
// 123 | ||
} | ||
}; | ||
|
||
use foo::{ | ||
bar, | ||
abc | ||
}; | ||
|
||
use foo::{ | ||
// abc | ||
bar, | ||
abc | ||
}; | ||
|
||
use foo::{ | ||
bar, | ||
// abc | ||
abc | ||
}; | ||
|
||
use foo::{ | ||
bar, | ||
abc | ||
// abc | ||
}; | ||
|
||
use foo::{ | ||
bar, | ||
abc, | ||
// abc | ||
}; | ||
|
||
use foo::{ | ||
self, | ||
// abc | ||
abc::{ | ||
xyz | ||
// 123 | ||
} | ||
}; | ||
|
||
use foo::{ | ||
self, | ||
// abc | ||
abc::{ | ||
// 123 | ||
xyz | ||
} | ||
}; | ||
|
||
use path::{self /*comment*/,}; |
Oops, something went wrong.