From: Adalfarus <51338419+adalfarus@users.noreply.github.com> Date: Wed, 9 Oct 2024 07:44:47 +0000 (+0200) Subject: Update lib.rs, added info that needed panic messages can be found in the tests. ... X-Git-Url: http://git.euphorik.ch/index.cgi?a=commitdiff_plain;h=c437f75fcf768c30c1bd450b020eb6707975a0dd;p=rust_exercises.git Update lib.rs, added info that needed panic messages can be found in the tests. (#157) --- 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