You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor calorie counter to take the volume as input (relates also to #109 ). Remove the abv_calories.rs from the util library as the calorie count can be calculated for abv easily by multiplying the beers ABV % by a factor of ~2.5 and then multiplying that number by how many fluid ounces the bottle holds. To make this easier, the volume should come as measurements::Volume struct.
The text was updated successfully, but these errors were encountered:
Refactor calorie counter to take the volume as input (relates also to #109 ). Remove the abv_calories.rs from the util library as the calorie count can be calculated for abv easily by multiplying the beers ABV % by a factor of ~2.5 and then multiplying that number by how many fluid ounces the bottle holds. To make this easier, the volume should come as measurements::Volume struct.
The text was updated successfully, but these errors were encountered: