From e875cad6046bb72a6f80485bdcf7ba6df1a6c9d8 Mon Sep 17 00:00:00 2001 From: davidrobert99 Date: Tue, 12 Apr 2022 12:43:01 +0100 Subject: [PATCH] update readme --- subjects/macro_calculator/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subjects/macro_calculator/README.md b/subjects/macro_calculator/README.md index 579845ee7..96df844ae 100644 --- a/subjects/macro_calculator/README.md +++ b/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,