Remove IntoIterator impl for &TicketStore
This commit is contained in:
parent
785c9af4be
commit
33444dfeee
|
@ -13,15 +13,6 @@ pub struct Ticket {
|
|||
status: Status,
|
||||
}
|
||||
|
||||
impl IntoIterator for &TicketStore {
|
||||
type Item = &Ticket;
|
||||
type IntoIter = impl Iterator<Item = &Ticket>;
|
||||
|
||||
fn into_iter(self) -> Self::IntoIter {
|
||||
self.tickets.iter()
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, Copy, PartialEq)]
|
||||
pub enum Status {
|
||||
ToDo,
|
||||
|
|
Loading…
Reference in New Issue