Skip to content

[EXTERNAL] fix(box_recursion): fix expected code#3027

Merged
pedrodesu merged 2 commits into01-edu:masterfrom
sadiqui:patch-28
Aug 28, 2025
Merged

[EXTERNAL] fix(box_recursion): fix expected code#3027
pedrodesu merged 2 commits into01-edu:masterfrom
sadiqui:patch-28

Conversation

@sadiqui
Copy link
Copy Markdown
Contributor

@sadiqui sadiqui commented Aug 13, 2025

1. Make it clear, that student should complete this type alias, guided by instructions:

Additionally, create a type named Link, which will be the connection between the WorkEnvironment and Worker structures. It will point to None if there is no Worker to point to.
- pub type Link;
+ pub type Link = _; // Complete type alias

2. role field of Worker structure, is expected to be of type Role. Tests Need It as checks expect "Role::CEO, not "CEO".

- pub role: String,
+ pub role: Role,

Related files:

Copy link
Copy Markdown
Contributor

@pedrodesu pedrodesu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! A small refactor I missed on the markdown. Thank you @sadiqui

@pedrodesu pedrodesu merged commit aeaa80f into 01-edu:master Aug 28, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants