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.
This commit is contained in:
parent
491319a6d5
commit
5660a2f7a8
|
@ -48,7 +48,7 @@ mod tests {
|
||||||
|
|
||||||
// You should be seeing this error when trying to run this exercise:
|
// 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");
|
// | assert_eq!(ticket.description, "A description");
|
||||||
// | ^^^^^^^^^^^^^^^^^^
|
// | ^^^^^^^^^^^^^^^^^^
|
||||||
|
|
Loading…
Reference in New Issue