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

Moved iterators2.rs errors out of tests. #648

Merged
merged 1 commit into from
Apr 20, 2021

Conversation

apogeeoak
Copy link
Contributor

Moved all errors out of tests and into the base module.
The exercise compiles after step 1 allowing the user to test capitalize_first. The remaining steps fix the other two failing tests.

The exercise still showcases the power of collect without requiring the user to complete the entire exercise before checking their work.

The hint to solve the capitalize_first function was moved to the hint in info.toml.

Closes #359

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.

Thanks!

@shadows-withal shadows-withal merged commit 2b766ef into rust-lang:main Apr 20, 2021
@apogeeoak apogeeoak deleted the iterator2 branch April 20, 2021 20:17
ppp3 pushed a commit to ppp3/rustlings that referenced this pull request May 23, 2022
Moved iterators2.rs errors out of tests.
dmoore04 pushed a commit to dmoore04/rustlings that referenced this pull request Sep 11, 2022
Moved iterators2.rs errors out of 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.

iterators2 doesn't compile before step 2
2 participants