Update lib.rs, added info that needed panic messages can be found in the tests. (#157)

This commit is contained in:
Adalfarus 2024-10-09 09:44:47 +02:00 committed by GitHub
parent f839fc00f9
commit c437f75fcf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@ impl Ticket {
// - the `title` should be at most 50 bytes long. // - the `title` should be at most 50 bytes long.
// - the `description` should be at most 500 bytes long. // - the `description` should be at most 500 bytes long.
// The method should panic if any of the requirements are not met. // 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, // 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 // as well as some `String` methods. Use the documentation of Rust's standard library