From c437f75fcf768c30c1bd450b020eb6707975a0dd Mon Sep 17 00:00:00 2001 From: Adalfarus <51338419+adalfarus@users.noreply.github.com> Date: Wed, 9 Oct 2024 09:44:47 +0200 Subject: [PATCH] Update lib.rs, added info that needed panic messages can be found in the tests. (#157) --- exercises/03_ticket_v1/02_validation/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/exercises/03_ticket_v1/02_validation/src/lib.rs b/exercises/03_ticket_v1/02_validation/src/lib.rs index d7416eb..7eaa5e5 100644 --- a/exercises/03_ticket_v1/02_validation/src/lib.rs +++ b/exercises/03_ticket_v1/02_validation/src/lib.rs @@ -12,6 +12,7 @@ impl Ticket { // - the `title` should be at most 50 bytes long. // - the `description` should be at most 500 bytes long. // The method should panic if any of the requirements are not met. + // You can find the needed panic messages in the tests. // // You'll have to use what you learned in the previous exercises, // as well as some `String` methods. Use the documentation of Rust's standard library -- 2.45.2