Hi all
I am pretty new to rust and am struggling with a lifetime related error. I have created a simplified playground example of what I am trying to do as this seemed easier than trying to fully explain it.
The error I am seeing is cannot infer an appropriate lifetime for lifetime parameter in function call due to conflicting requirements
I have tried a few things without much luck, any help would be greatly appreciated.