unwrap ret ty of iter::ArrayChunks::into_remainder #149127
Merged
bors merged 1 commit intorust-lang:mainfrom Nov 21, 2025
Merged
unwrap ret ty of iter::ArrayChunks::into_remainder #149127bors merged 1 commit intorust-lang:mainfrom
iter::ArrayChunks::into_remainder #149127bors merged 1 commit intorust-lang:mainfrom
Conversation
Collaborator
8 tasks
Contributor
|
This would need libs-api to take a look, I nominated #100450 for that. |
dtolnay
approved these changes
Nov 21, 2025
Member
|
@bors r+ |
Collaborator
bors
added a commit
that referenced
this pull request
Nov 21, 2025
Rollup of 5 pull requests Successful merges: - #148990 (Exhaustively specify names and stability of `--print` values) - #149127 (unwrap ret ty of `iter::ArrayChunks::into_remainder` ) - #149134 (std: sys: net: uefi: Implement read_vectored) - #149135 (Constify `residual_into_try_type`) - #149160 (Check for intrinsic to fn ptr casts in unified coercions) r? `@ghost` `@rustbot` modify labels: rollup
rust-timer
added a commit
that referenced
this pull request
Nov 21, 2025
Rollup merge of #149127 - bend-n:iter_array_chunks_into_remainder_is_non_optional, r=dtolnay unwrap ret ty of `iter::ArrayChunks::into_remainder` changes [`iter::ArrayChunks::into_remainder`](#100450) to return `array::IntoIter` instead of `Option<array::IntoIter>` as suggested by [`@WaffleLapkin](https://github.com/rust-lang/rust/issues/100450#issuecomment-3555519025)`
Collaborator
Member
|
See also #148249 |
Member
|
@bors r- retry |
github-actions bot
pushed a commit
to model-checking/verify-rust-std
that referenced
this pull request
Jan 17, 2026
…inder_is_non_optional, r=dtolnay unwrap ret ty of `iter::ArrayChunks::into_remainder` changes [`iter::ArrayChunks::into_remainder`](rust-lang#100450) to return `array::IntoIter` instead of `Option<array::IntoIter>` as suggested by [`@WaffleLapkin](https://github.com/rust-lang/rust/issues/100450#issuecomment-3555519025)`
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.
changes
iter::ArrayChunks::into_remainderto returnarray::IntoIterinstead ofOption<array::IntoIter>as suggested by @WaffleLapkin