fix(lunch_queue) correct Person structure

This commit is contained in:
davhojt 2022-06-10 15:25:43 +03:00 committed by Dav Hojt
parent 7350a3b4d6
commit 026d7e673d
1 changed files with 2 additions and 2 deletions

View File

@ -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) {