From: LukeMathWalker <20745048+LukeMathWalker@users.noreply.github.com> Date: Wed, 22 May 2024 09:03:19 +0000 (+0200) Subject: Fix links. X-Git-Url: http://git.euphorik.ch/index.cgi?a=commitdiff_plain;h=e5eee2e83c683bb520c34f413f5bbfe0c6028dc2;p=rust_exercises.git Fix links. --- 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: