05_ticket_v2 outro: correct comment on title (#179)

Characters was meant to be bytes, this was missed in a former refactoring
This commit is contained in:
iacri
2024-10-19 09:36:26 +02:00
committed by GitHub
parent c437f75fcf
commit a392371ef0

View File

@@ -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);