05_ticket_v2 outro: correct comment on title (#179)
Some checks failed
CI / build (push) Has been cancelled
CI / is_fresh (push) Has been cancelled
CI / formatter (push) Has been cancelled

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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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