docs(box_recursion): add derive debug for necessary structures

This commit is contained in:
Michele Sessa 2022-10-06 16:44:16 +01:00 committed by Michele
parent 0c9296dbcf
commit 9fff5aa95f
1 changed files with 2 additions and 0 deletions

View File

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