42plamusse / rust_reven

Technical test for esReven

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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! 

About

Technical test for esReven


Languages

Language:Rust 100.0%