Open Boscop opened 6 years ago
This should not be a problem, especially since I think for most use-cases a string literal is going to be used there. I have no objection to this making it into the release (next time I have time to work on this project).
It could also be done by calling .to_string()
in the macro before constructing the PursModule
. Then PursModule
wouldn't need to track that lifetime.
It would be more ergonomic:
PursModule
would have an added lifetime<'a>
and membername
would be&'a str
.