mirror of
https://github.com/mainmatter/100-exercises-to-learn-rust
synced 2024-11-16 19:50:44 +01:00
parent
468de3c0ac
commit
d8d7e73f1c
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ impl Ticket {
|
||||||
match &self.status {
|
match &self.status {
|
||||||
Status::InProgress { assigned_to } => assigned_to,
|
Status::InProgress { assigned_to } => assigned_to,
|
||||||
Status::Done | Status::ToDo => {
|
Status::Done | Status::ToDo => {
|
||||||
panic!("Only `In-Progress` tickets can be assigned to someone"),
|
panic!("Only `In-Progress` tickets can be assigned to someone")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue