-
Notifications
You must be signed in to change notification settings - Fork 295
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: We are now using Rust 1.81.0. The new lint warning: ``` warning: this function depends on never type fallback being `()` ``` Forces us to use explicit types in `try_collect` when we're collecting over fuctions returning unit types. (Previously that was a never type which was implicitly casted to unit type). More context: rust-lang/rust#123748 Reviewed By: diliop Differential Revision: D64007786 fbshipit-source-id: e7da6827b799053a4a37247e80ccf9f36636d20a
- Loading branch information
1 parent
5a8ebf3
commit 194de6d
Showing
5 changed files
with
5 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -787,7 +787,7 @@ where | |
} | ||
}) | ||
.buffer_unordered(100) | ||
.try_collect() | ||
.try_collect::<()>() | ||
.await?; | ||
|
||
Ok(()) | ||
|
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