From 026d7e673d6c02c283991403269d64b6e4b8707a Mon Sep 17 00:00:00 2001 From: davhojt Date: Fri, 10 Jun 2022 15:25:43 +0300 Subject: [PATCH] fix(lunch_queue) correct Person structure --- subjects/lunch_queue/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subjects/lunch_queue/README.md b/subjects/lunch_queue/README.md index 1d0a7d6f7..d69e84f9d 100644 --- a/subjects/lunch_queue/README.md +++ b/subjects/lunch_queue/README.md @@ -24,7 +24,7 @@ pub struct Queue { pub type Link = pub struct Person { - pub id: i32, + pub discount: i32, pub name: String, } @@ -32,7 +32,7 @@ impl Queue { pub fn new() -> Queue { } - pub fn add(&mut self, name: String, id: i32) { + pub fn add(&mut self, name: String, discount: i32) { } pub fn invert_queue(&mut self) {