Mention IntoIterator
special case for Box<[T]>
for pre-Rust 2024 editions
#1742
Labels
A-edition-2024
Area: Edition 2024
Apologies if this has already been raised elsewhere, or if this is a non-issue.
I noticed that the current reference, under the section for "Method call expressions," only mentions the edition-specific handling of the
into_iter()
method call stemming from the introduction ofIntoIterator
trait for arrays. (Here is the link to the relevant PR that updated the Reference.)Now that there's a similar change in Rust 2024 (as per this page on the Edition Guide), perhaps the Reference needs to be updated again? Specifically, I'm referring to this section:
If needed, I can help open a PR for this.
For what it's worth, I see that on the tracking issue for adding
IntoIterator
forBox<[T]>
in Rust 2024, the step "Add documentation to the reference" is marked as "N/A." I don't know if that was intentional or not.The text was updated successfully, but these errors were encountered: