Browse Source

fix(lunch_queue) correct Person structure

is-negative
davhojt 2 years ago committed by Dav Hojt
parent
commit
026d7e673d
  1. 4
      subjects/lunch_queue/README.md

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

Loading…
Cancel
Save