From a392371ef0d07987e46f3c9bcbec8af024abe2ee Mon Sep 17 00:00:00 2001 From: iacri <49108209+iacri@users.noreply.github.com> Date: Sat, 19 Oct 2024 09:36:26 +0200 Subject: [PATCH] 05_ticket_v2 outro: correct comment on title (#179) Characters was meant to be bytes, this was missed in a former refactoring --- exercises/05_ticket_v2/15_outro/src/title.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/05_ticket_v2/15_outro/src/title.rs b/exercises/05_ticket_v2/15_outro/src/title.rs index cb31996..7c26c93 100644 --- a/exercises/05_ticket_v2/15_outro/src/title.rs +++ b/exercises/05_ticket_v2/15_outro/src/title.rs @@ -1,5 +1,5 @@ // TODO: Implement `TryFrom` 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);