mirror of https://github.com/01-edu/public.git
docs(box_recursion): add derive debug for necessary structures
This commit is contained in:
parent
0c9296dbcf
commit
9fff5aa95f
|
@ -14,12 +14,14 @@ You must also create a type named `Link`. This will be the connection between th
|
||||||
### Expected Functions and structures
|
### Expected Functions and structures
|
||||||
|
|
||||||
```rust
|
```rust
|
||||||
|
#[derive(Debug)]
|
||||||
pub struct WorkEnvironment {
|
pub struct WorkEnvironment {
|
||||||
pub grade: Link,
|
pub grade: Link,
|
||||||
}
|
}
|
||||||
|
|
||||||
pub type Link =
|
pub type Link =
|
||||||
|
|
||||||
|
#[derive(Debug)]
|
||||||
pub struct Worker {
|
pub struct Worker {
|
||||||
pub role: String,
|
pub role: String,
|
||||||
pub name: String,
|
pub name: String,
|
||||||
|
|
Loading…
Reference in New Issue