Browse Source

docs(box_recursion): add derive debug for necessary structures

pull/1500/head
Michele Sessa 2 years ago committed by Michele
parent
commit
9fff5aa95f
  1. 2
      subjects/box_recursion/README.md

2
subjects/box_recursion/README.md

@ -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…
Cancel
Save