-
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.
Use correct indent when formatting complex fn type (#3731)
- Loading branch information
1 parent
dfd2766
commit 1643d72
Showing
6 changed files
with
139 additions
and
25 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,12 @@ | ||
// rustfmt-version: One | ||
|
||
fn build_sorted_static_get_entry_names( | ||
mut entries: Vec<(u8, &'static str)>, | ||
) -> (impl Fn( | ||
AlphabeticalTraversal, | ||
Box<dyn dirents_sink::Sink<AlphabeticalTraversal>>, | ||
) -> BoxFuture<'static, Result<Box<dyn dirents_sink::Sealed>, Status>> | ||
+ Send | ||
+ Sync | ||
+ 'static) { | ||
} |
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 @@ | ||
// rustfmt-version: Two | ||
|
||
fn build_sorted_static_get_entry_names( | ||
mut entries: Vec<(u8, &'static str)>, | ||
) -> (impl Fn( | ||
AlphabeticalTraversal, | ||
Box<dyn dirents_sink::Sink<AlphabeticalTraversal>>, | ||
) -> BoxFuture<'static, Result<Box<dyn dirents_sink::Sealed>, Status>> | ||
+ Send | ||
+ Sync | ||
+ 'static) { | ||
} |
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 @@ | ||
// rustfmt-version: One | ||
|
||
fn build_sorted_static_get_entry_names( | ||
mut entries: Vec<(u8, &'static str)>, | ||
) -> (impl Fn( | ||
AlphabeticalTraversal, | ||
Box<dyn dirents_sink::Sink<AlphabeticalTraversal>>, | ||
) -> BoxFuture<'static, Result<Box<dyn dirents_sink::Sealed>, Status>> | ||
+ Send | ||
+ Sync | ||
+ 'static) { | ||
} |
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,14 @@ | ||
// rustfmt-version: Two | ||
|
||
fn build_sorted_static_get_entry_names( | ||
mut entries: Vec<(u8, &'static str)>, | ||
) -> ( | ||
impl Fn( | ||
AlphabeticalTraversal, | ||
Box<dyn dirents_sink::Sink<AlphabeticalTraversal>>, | ||
) -> BoxFuture<'static, Result<Box<dyn dirents_sink::Sealed>, Status>> | ||
+ Send | ||
+ Sync | ||
+ 'static | ||
) { | ||
} |