mirror of
https://github.com/mainmatter/100-exercises-to-learn-rust
synced 2024-12-26 21:58:49 +01:00
Use more precise language in task assignment.
This commit is contained in:
parent
6235d8c1ed
commit
90caadf797
1 changed files with 2 additions and 2 deletions
|
@ -9,8 +9,8 @@ impl Ticket {
|
|||
// The following requirements should be met:
|
||||
// - Only `To-Do`, `In Progress`, and `Done` statuses are allowed.
|
||||
// - The `title` and `description` fields should not be empty.
|
||||
// - the `title` should be at most 50 characters long.
|
||||
// - the `description` should be at most 500 characters long.
|
||||
// - 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'll have to use what you learned in the previous exercises,
|
||||
|
|
Loading…
Reference in a new issue