Skip to content

Commit

Permalink
fix(quiz1): Fix inconsistent wording (rust-lang#826)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
dxbednarczyk authored and mack committed Dec 28, 2021
1 parent 05ad0d7 commit 2908205
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/quiz1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// - Functions

// Mary is buying apples. One apple usually costs 2 Rustbucks, but if you buy
// more than 40 at once, each apple only costs 1! Write a function that calculates
// 40 or more at once, each apple only costs 1! Write a function that calculates
// the price of an order of apples given the quantity bought. No hints this time!

// I AM NOT DONE
Expand Down

0 comments on commit 2908205

Please sign in to comment.