Skip to content

Commit a392371

Browse files
authored
05_ticket_v2 outro: correct comment on title (mainmatter#179)
Characters was meant to be bytes, this was missed in a former refactoring
1 parent c437f75 commit a392371

File tree

1 file changed

+1
-1
lines changed
  • exercises/05_ticket_v2/15_outro/src

1 file changed

+1
-1
lines changed

exercises/05_ticket_v2/15_outro/src/title.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// TODO: Implement `TryFrom<String>` and `TryFrom<&str>` for the `TicketTitle` type,
2-
// enforcing that the title is not empty and is not longer than 50 characters.
2+
// enforcing that the title is not empty and is not longer than 50 bytes.
33
// Implement the traits required to make the tests pass too.
44

55
pub struct TicketTitle(String);

0 commit comments

Comments
 (0)