docs(office_worker): specify expected behaviour for invalid in puts

This commit is contained in:
Michele Sessa 2022-11-19 14:47:01 +00:00 committed by Michele
parent ccc0a2dc0a
commit dba6a14d2c
1 changed files with 2 additions and 0 deletions

View File

@ -11,6 +11,8 @@ Create an enum `WorkerRole` which can be `Admin`, `User` or `Guest`.
Implement for both the trait `From<&str>`. For `OfficeWorker` the string will have the format `"name,age,role"`, for `WorkerRole` the format of the string will be the `"role"` name in lower case.
> Invalid inputs won't be tested.
### Expected Functions and Data Structures
```rust