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

chore(errors): fix grammar typo and wording in errors exercises #1718

Merged
merged 2 commits into from
Oct 16, 2023
Merged

chore(errors): fix grammar typo and wording in errors exercises #1718

merged 2 commits into from
Oct 16, 2023

Conversation

matthewjnield
Copy link
Contributor

@matthewjnield matthewjnield commented Oct 13, 2023

chore(errors1): fix grammar typo in hint for exercise errors1

This commit corrects a grammar typo in the hint of the errors1 exercise, changing from:
"Ok and Err are one of the variants of Result,"
to:
"Ok and Err are the two variants of Result,"


chore(errors2): minor description wording change in errors2 exercise

This commit makes a minor change in the wording of the description of the errors2 exercise to avoid potential confusion, changing:

"A player of the game will type in how many items they want to buy, and the total_cost function will calculate the total cost of the tokens."
to
"A player of the game will type in how many items they want to buy, and the total_cost function will calculate the total cost of the items."

This commit corrects a grammar typo in the hint of the errors1 exercise, changing from:
"`Ok` and `Err` are one of the variants of `Result`,"
to:
"`Ok` and `Err` are the two variants of `Result`,"
This commit makes a minor change in the wording of the description of the errors2 exercise to avoid potential confusion, changing:

"A player of the game will type in how many items they want to buy, and the `total_cost` function will calculate the total cost of the tokens."
to
"A player of the game will type in how many items they want to buy, and the `total_cost` function will calculate the total cost of the items."
@matthewjnield matthewjnield changed the title chore(errors1): fix grammar typo in hint for exercise errors1 chore(errors): fix grammar typo and wording in errors excercises Oct 13, 2023
@matthewjnield matthewjnield changed the title chore(errors): fix grammar typo and wording in errors excercises chore(errors): fix grammar typo and wording in errors exercises Oct 13, 2023
@shadows-withal shadows-withal merged commit 54c0ac1 into rust-lang:main Oct 16, 2023
5 checks passed
@shadows-withal
Copy link
Member

@all-contributors please add @matthewjnield for content

@allcontributors
Copy link
Contributor

@shadows-withal

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

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