Skip to content

Commit 994ed42

Browse files
authored
fix(typo): a module name in comments (mainmatter#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.
1 parent a287542 commit 994ed42

File tree

1 file changed

+1
-1
lines changed
  • exercises/03_ticket_v1/04_visibility/src

1 file changed

+1
-1
lines changed

exercises/03_ticket_v1/04_visibility/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ mod tests {
4848

4949
// You should be seeing this error when trying to run this exercise:
5050
//
51-
// error[E0616]: field `description` of struct `encapsulation::ticket::Ticket` is private
51+
// error[E0616]: field `description` of struct `Ticket` is private
5252
// |
5353
// | assert_eq!(ticket.description, "A description");
5454
// | ^^^^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)