mirror of https://github.com/01-edu/public.git
docs(office_worker): specify expected behaviour for invalid in puts
This commit is contained in:
parent
ccc0a2dc0a
commit
dba6a14d2c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue