From f671914dfb138eefc49185856b5f22f5743d253e Mon Sep 17 00:00:00 2001 From: LukeMathWalker <20745048+LukeMathWalker@users.noreply.github.com> Date: Thu, 16 May 2024 09:20:07 +0200 Subject: [PATCH] Typo. --- book/src/06_ticket_management/12_two_states.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.45.2