Rename IntoFuture::Future to IntoFuture::IntoFuture#94818
Merged
bors merged 1 commit intorust-lang:masterfrom Mar 12, 2022
yoshuawuyts:into-future-associated-type
Merged
Rename IntoFuture::Future to IntoFuture::IntoFuture#94818bors merged 1 commit intorust-lang:masterfrom yoshuawuyts:into-future-associated-type
IntoFuture::Future to IntoFuture::IntoFuture#94818bors merged 1 commit intorust-lang:masterfrom
yoshuawuyts:into-future-associated-type
Conversation
Contributor
|
r? @scottmcm (rust-highfive has picked a reviewer for you, use r? to override) |
Member
Author
|
This should probably be labeled |
Member
|
@bors r+ |
Collaborator
|
📌 Commit 3f2cb6e has been approved by |
bors
added a commit
to rust-lang-ci/rust
that referenced
this pull request
Mar 11, 2022
Rollup of 7 pull requests Successful merges: - rust-lang#87618 (Add missing documentation for std::char types) - rust-lang#94769 (Collapse blanket and auto-trait impls by default) - rust-lang#94798 (`parse_tt` refactorings) - rust-lang#94818 (Rename `IntoFuture::Future` to `IntoFuture::IntoFuture`) - rust-lang#94827 (CTFE/Miri: detect out-of-bounds pointers in offset_from) - rust-lang#94838 (Make float parsing docs more comprehensive) - rust-lang#94839 (Suggest using double colon when a struct field type include single colon) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ref: #67644 (comment)
This renames
IntoFuture::FuturetoIntoFuture::IntoFuture. This adds theInto*prefix to the associated type, similar to theIntoIterator::IntoIterassociated type. It's my mistake we didn't do so in the first place. This fixes that and brings the two closer together. Thanks!References
IntoIteratortrait defIntoFuturetrait defcc/ @eholk @rust-lang/wg-async