Skip to content

Commit

Permalink
Auto merge of rust-lang#184 - Jesse-Cameron:master, r=komaeda
Browse files Browse the repository at this point in the history
fix(test1): renamed function name to snake case

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

closes rust-lang#180
  • Loading branch information
yourname committed Jun 28, 2019
2 parents 1826c19 + 5bd1692 commit fbb77e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exercises/test1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit fbb77e4

Please sign in to comment.