1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-12-04 10:35:06 +02:00

Auto merge of #184 - Jesse-Cameron:master, r=komaeda

fix(test1): renamed function name to snake case

addressing a minor function naming convention, see: [RFC #430](https://doc.rust-lang.org/1.0.0/style/style/naming/README.html)

closes #180
This commit is contained in:
bors 2019-06-28 15:27:40 +00:00
commit 5e1d7c3076

View File

@ -13,8 +13,8 @@
// Don't modify this function!
#[test]
fn verify_test() {
let price1 = calculateprice(55);
let price2 = calculateprice(40);
let price1 = calculate_price(55);
let price2 = calculate_price(40);
assert_eq!(price1, 55);
assert_eq!(price2, 80);