Browse Source

Merge pull request #1053 from 01-edu/rust-quest-05-macro_calculator-01-855

update readme
pull/1062/head
MSilva95 3 years ago committed by GitHub
parent
commit
872b383fb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      subjects/macro_calculator/README.md

4
subjects/macro_calculator/README.md

@ -60,7 +60,7 @@ fn main(){
Food {
name: String::from("big mac"),
calories: ["2133.84kJ".to_string(), "510kcal".to_string()],
protein: 27.0,
proteins: 27.0,
fats: 26.0,
carbs: 41.0,
nbr_of_portions: 2.0,
@ -68,7 +68,7 @@ fn main(){
Food {
name: "pizza margherita".to_string(),
calories: ["1500.59kJ".to_string(), "358.65kcal".to_string()],
protein: 13.89,
proteins: 13.89,
fats: 11.21,
carbs: 49.07,
nbr_of_portions: 4.9,

Loading…
Cancel
Save