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

View File

@@ -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