diff --git a/book/src/04_traits/12_drop.md b/book/src/04_traits/12_drop.md index 69dca46..5368abd 100644 --- a/book/src/04_traits/12_drop.md +++ b/book/src/04_traits/12_drop.md @@ -1,6 +1,6 @@ # The `Drop` trait -When we introduced [destructors](../../02_ticket_v1/11_destructor/README.md), +When we introduced [destructors](../03_ticket_v1/11_destructor), we mentioned that the `drop` function: 1. reclaims the memory occupied by the type (i.e. `std::mem::size_of` bytes) diff --git a/book/src/05_ticket_v2/01_enum.md b/book/src/05_ticket_v2/01_enum.md index 8ef5268..d7bfadc 100644 --- a/book/src/05_ticket_v2/01_enum.md +++ b/book/src/05_ticket_v2/01_enum.md @@ -1,6 +1,6 @@ # Enumerations -Based on the validation logic you wrote [in a previous chapter](../../02_ticket_v1/02_validation), +Based on the validation logic you wrote [in a previous chapter](../03_ticket_v1/02_validation), there are only a few valid statuses for a ticket: `To-Do`, `InProgress` and `Done`. This is not obvious if we look at the `status` field in the `Ticket` struct or at the type of the `status` parameter in the `new` method: