Skip to content

Moved iterators2.rs errors out of tests.#648

Merged
manyinsects merged 1 commit intorust-lang:mainfrom
apogeeoak:iterator2
Apr 20, 2021
Merged

Moved iterators2.rs errors out of tests.#648
manyinsects merged 1 commit intorust-lang:mainfrom
apogeeoak:iterator2

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

@manyinsects manyinsects left a comment

Choose a reason for hiding this comment

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

Thanks!

@manyinsects manyinsects 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