mirror of https://github.com/01-edu/public.git
fix(lunch_queue) correct Person structure
This commit is contained in:
parent
7350a3b4d6
commit
026d7e673d
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue