Remove IntoIterator impl for &TicketStore

This commit is contained in:
LukeMathWalker 2024-05-13 13:49:10 +02:00
parent 785c9af4be
commit 33444dfeee
1 changed files with 0 additions and 9 deletions

View File

@ -13,15 +13,6 @@ pub struct Ticket {
status: Status, 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)] #[derive(Clone, Debug, Copy, PartialEq)]
pub enum Status { pub enum Status {
ToDo, ToDo,