Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. for i in 0..8 {
  2. if self.lens[i] == 0{
  3. match &self.job_in_lane[i] {
  4. Ok(mut J) => {J.status = Status::Completed;
  5. self.unused_lanes.push(i as u8);
  6. },
  7. Err(E) => println!("Cant change the status"),
  8. }
  9.  
  10. }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement