From 5660a2f7a851e4a53a552c2edf7f51071a08cdd5 Mon Sep 17 00:00:00 2001 From: LOGI <18008498+vcheckzen@users.noreply.github.com> Date: Thu, 27 Jun 2024 17:35:11 +0800 Subject: [PATCH] fix(typo): a module name in comments (#102) The output of the compiler does not include the module name of the `Ticket` struct and the root module of this exercise is `visibility` rather than `encapsulation` which is the root module of the next exercise. --- exercises/03_ticket_v1/04_visibility/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/03_ticket_v1/04_visibility/src/lib.rs b/exercises/03_ticket_v1/04_visibility/src/lib.rs index 4fdcc1e..b494fc9 100644 --- a/exercises/03_ticket_v1/04_visibility/src/lib.rs +++ b/exercises/03_ticket_v1/04_visibility/src/lib.rs @@ -48,7 +48,7 @@ mod tests { // You should be seeing this error when trying to run this exercise: // - // error[E0616]: field `description` of struct `encapsulation::ticket::Ticket` is private + // error[E0616]: field `description` of struct `Ticket` is private // | // | assert_eq!(ticket.description, "A description"); // | ^^^^^^^^^^^^^^^^^^