-
Notifications
You must be signed in to change notification settings - Fork 888
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
10dc6fe
commit e2c23d1
Showing
12 changed files
with
850 additions
and
0 deletions.
There are no files selected for viewing
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.