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 inconsistent wording #826

Merged
merged 1 commit into from
Aug 24, 2021
Merged

Fix inconsistent wording #826

merged 1 commit into from
Aug 24, 2021

Conversation

dxbednarczyk
Copy link
Contributor

The second test expects the function to return 80 when there is an order of 40 apples, but the current wording implies returning 40 will pass as well

The second test expects the function to return 80 when there is an order of 40 apples, but the current wording implies returning 40 will pass as well
@suryapandian
Copy link

Nice catch!

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 03131a3 into rust-lang:main Aug 24, 2021
@shadows-withal
Copy link
Member

@all-contributors please add @dbednar230 for content

@allcontributors
Copy link
Contributor

@diannasoriel

I've put up a pull request to add @dbednar230! 🎉

@suryapandian
Copy link

The second test expects the function to return 80 when there is an order of 40 apples, but the current wording implies returning 40 will pass as well

I am sorry @diannasoriel and @dbednar230
The current wording is correct. For 40 apples the price is 80, only for more than 40 apples the cost of an apple is 1 unit.

Thank you @Mark-S-Hill for pointing this out.
03131a3

@shadows-withal
Copy link
Member

@suryapandian you're right 🙈 I'll revert it

@suryapandian
Copy link

@suryapandian you're right 🙈 I'll revert it

I will be more careful looking at PRs going forward :)

bugaolengdeyuxiaoer pushed a commit to bugaolengdeyuxiaoer/rustlings that referenced this pull request Dec 28, 2021
The second test expects the function to return 80 when there is an order of 40 apples, but the current wording implies returning 40 will pass as well
ppp3 pushed a commit to ppp3/rustlings that referenced this pull request May 23, 2022
The second test expects the function to return 80 when there is an order of 40 apples, but the current wording implies returning 40 will pass as well
dmoore04 pushed a commit to dmoore04/rustlings that referenced this pull request Sep 11, 2022
The second test expects the function to return 80 when there is an order of 40 apples, but the current wording implies returning 40 will pass as well
Spacebody pushed a commit to Spacebody/my-rustlings that referenced this pull request Nov 18, 2022
The second test expects the function to return 80 when there is an order of 40 apples, but the current wording implies returning 40 will pass as well
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.

3 participants