-
Notifications
You must be signed in to change notification settings - Fork 889
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issues with formatting imports with comments
- Loading branch information
1 parent
a9ae746
commit a9254d6
Showing
4 changed files
with
189 additions
and
3 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
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
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,95 @@ | ||
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,88 @@ | ||
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, | ||
// abc | ||
bar, | ||
}; | ||
|
||
use foo::{ | ||
// abc | ||
abc, | ||
bar, | ||
}; | ||
|
||
use foo::{ | ||
abc, // abc | ||
bar, | ||
}; | ||
|
||
use foo::{ | ||
abc, | ||
// abc | ||
bar, | ||
}; | ||
|
||
use foo::{ | ||
self, | ||
// abc | ||
abc::{ | ||
xyz, // 123 | ||
}, | ||
}; | ||
|
||
use foo::{ | ||
self, | ||
// abc | ||
abc::{ | ||
// 123 | ||
xyz, | ||
}, | ||
}; | ||
|
||
use path::{self /*comment*/}; |