From e5eee2e83c683bb520c34f413f5bbfe0c6028dc2 Mon Sep 17 00:00:00 2001 From: LukeMathWalker <20745048+LukeMathWalker@users.noreply.github.com> Date: Wed, 22 May 2024 11:03:19 +0200 Subject: [PATCH] Fix links. --- book/src/04_traits/12_drop.md | 2 +- book/src/05_ticket_v2/01_enum.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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: