Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 539 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 539 Bytes

Mission


You are trying to store multiple callbacks in MyStruct and call them with a concrete type in the do_something method.
Specializing MyStruct (which is parametrized with the argument type of the closure) introduced a lifetime issue that has to be fixed.


Goal:
~~~~~

- Please detail what is the problem in a specific text file
- Provide a solution that you would propose to fix it
- Add the patched code and documentation
- you are only allowed to modify the file src/changeme.rs
- Provide us a git patch with your work!