From 33444dfeee3cc683d91760e5088ede316f74fa72 Mon Sep 17 00:00:00 2001 From: LukeMathWalker <20745048+LukeMathWalker@users.noreply.github.com> Date: Mon, 13 May 2024 13:49:10 +0200 Subject: [PATCH] Remove IntoIterator impl for &TicketStore --- exercises/06_ticket_management/05_iter/src/lib.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/exercises/06_ticket_management/05_iter/src/lib.rs b/exercises/06_ticket_management/05_iter/src/lib.rs index 6232e3a..da75366 100644 --- a/exercises/06_ticket_management/05_iter/src/lib.rs +++ b/exercises/06_ticket_management/05_iter/src/lib.rs @@ -13,15 +13,6 @@ pub struct Ticket { status: Status, } -impl IntoIterator for &TicketStore { - type Item = &Ticket; - type IntoIter = impl Iterator; - - fn into_iter(self) -> Self::IntoIter { - self.tickets.iter() - } -} - #[derive(Clone, Debug, Copy, PartialEq)] pub enum Status { ToDo,