Skip to content

Commit

Permalink
05_ticket_v2 outro: correct comment on title (#179)
Browse files Browse the repository at this point in the history
Characters was meant to be bytes, this was missed in a former refactoring
  • Loading branch information
iacri authored Oct 19, 2024
1 parent c437f75 commit a392371
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/05_ticket_v2/15_outro/src/title.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// TODO: Implement `TryFrom<String>` and `TryFrom<&str>` for the `TicketTitle` type,
// enforcing that the title is not empty and is not longer than 50 characters.
// enforcing that the title is not empty and is not longer than 50 bytes.
// Implement the traits required to make the tests pass too.

pub struct TicketTitle(String);
Expand Down

0 comments on commit a392371

Please sign in to comment.