Skip to content

Commit c265b68

Browse files
neilpatemanyinsects
authored andcommitted
fix(quiz1): change function name
1 parent 1a7a3f5 commit c265b68

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

exercises/quiz1.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
1111
// I AM NOT DONE
1212

1313
// Put your function here!
14-
// fn calculate_apple_price {
14+
// fn calculate_price_of_apples {
1515

1616
// Don't modify this function!
1717
#[test]
1818
fn verify_test() {
19-
let price1 = calculate_apple_price(35);
20-
let price2 = calculate_apple_price(40);
21-
let price3 = calculate_apple_price(65);
19+
let price1 = calculate_price_of_apples(35);
20+
let price2 = calculate_price_of_apples(40);
21+
let price3 = calculate_price_of_apples(65);
2222

2323
assert_eq!(70, price1);
2424
assert_eq!(80, price2);

0 commit comments

Comments
 (0)