mirror of https://github.com/01-edu/public.git
Merge pull request #1053 from 01-edu/rust-quest-05-macro_calculator-01-855
update readme
This commit is contained in:
commit
872b383fb2
|
@ -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…
Reference in New Issue