From: LukeMathWalker <20745048+LukeMathWalker@users.noreply.github.com> Date: Thu, 16 May 2024 07:20:07 +0000 (+0200) Subject: Typo. X-Git-Url: http://git.euphorik.ch/?a=commitdiff_plain;h=f671914dfb138eefc49185856b5f22f5743d253e;p=rust_exercises.git Typo. --- diff --git a/book/src/06_ticket_management/12_two_states.md b/book/src/06_ticket_management/12_two_states.md index 69de82b..0be7212 100644 --- a/book/src/06_ticket_management/12_two_states.md +++ b/book/src/06_ticket_management/12_two_states.md @@ -44,7 +44,7 @@ pub struct Ticket { That's also not ideal—we'd have to handle the `None` case every single time we retrieve a ticket from the store, even though we know that the id should always be there once the ticket has been created. -The best solution is two have two different ticket **states**, represented by two separate types: +The best solution is to have two different ticket **states**, represented by two separate types: a `TicketDraft` and a `Ticket`: ```rust