mirror of
https://github.com/mainmatter/100-exercises-to-learn-rust
synced 2025-01-28 07:58:42 +01:00
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
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:
parent
c437f75fcf
commit
a392371ef0
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue