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

Enabled iterators3.rs to run without commented out tests. #649

Merged
merged 1 commit into from
Apr 20, 2021

Conversation

apogeeoak
Copy link
Contributor

Adapted all but one compiler error into logic errors. The exercise can be tested after completing step one, without the need for the tests to be commented out.

The assertions against debug output are kept to allow the code to compile before result_with_list and list_of_results are completed. They also prevent the compiler from revealing the answer too eagerly.


Copy link
Member

@shadows-withal shadows-withal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@shadows-withal shadows-withal merged commit bd3d9ac into rust-lang:main Apr 20, 2021
@apogeeoak apogeeoak deleted the iterator3 branch April 20, 2021 20:18
ppp3 pushed a commit to ppp3/rustlings that referenced this pull request May 23, 2022
Enabled iterators3.rs to run without commented out tests.
dmoore04 pushed a commit to dmoore04/rustlings that referenced this pull request Sep 11, 2022
Enabled iterators3.rs to run without commented out tests.
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.

2 participants