Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: spacing in iter_any example #1526

Closed
wants to merge 1 commit into from

Conversation

fredmaggiowski
Copy link

@fredmaggiowski fredmaggiowski commented Apr 3, 2022

Hi there, while reading the doc (which is great btw!) I noticed that you use to space code between examples to match . and function names that are being explained.

I think that this line should be changed in order to be properly aligned with the example below.

Thanks

@rust-highfive
Copy link

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @marioidival (or someone else) soon.

Please see the contribution instructions for more information.

@gokhanettin
Copy link
Contributor

I think this is more than a simple spacing problem. I believe #1510 is the way to go. It seems we introduced this problem when updating to 2021 edition. into_iter on arrays now can iterate by values just like it does on vectors. You may also want to see this and this for the whole story.

@marioidival
Copy link
Member

supress by #1522

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants