-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Closed
Labels
E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Description
In the doc for the keyword in it's stated that "The expression immediately following in must implement the Iterator trait."
This is not completly right since it can be followed by anything that implements the IntoIterator trait.
The doc for the keyword for instead correctly cites the IntoIterator trait, althouth it could be improved since it just appears out of thin air when the desugared version is showed, without any prior mentioning.
This issue has been assigned to @Nicholas-Baron via this comment.
Metadata
Metadata
Assignees
Labels
E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.