From: LOGI <18008498+vcheckzen@users.noreply.github.com> Date: Thu, 27 Jun 2024 09:35:11 +0000 (+0800) Subject: fix(typo): a module name in comments (#102) X-Git-Url: http://git.euphorik.ch/?a=commitdiff_plain;h=5660a2f7a851e4a53a552c2edf7f51071a08cdd5;p=rust_exercises.git 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. --- 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"); // | ^^^^^^^^^^^^^^^^^^