Remove IntoIterator impl for &TicketStore

This commit is contained in:
LukeMathWalker 2024-05-13 13:49:10 +02:00
parent 785c9af4be
commit 33444dfeee

View file

@ -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,