fix(typo): a module name in comments (#102)
Some checks failed
CI / build (push) Has been cancelled
CI / formatter (push) Has been cancelled

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.
This commit is contained in:
LOGI 2024-06-27 17:35:11 +08:00 committed by GitHub
parent 491319a6d5
commit 5660a2f7a8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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");
// | ^^^^^^^^^^^^^^^^^^