You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Parser's an empty struct without any state. Lifetime expansion causes WootheeResult's 'a lifetime to correspond to Parser's. This doesn't really make any sense and inconveniences the API.
I'd think the strings contained in WootheeResult should likely all be 'static or at the very least tied to the agent &str (if slices are pulled from it).
Parser's an empty struct without any state. Lifetime expansion causes WootheeResult's 'a lifetime to correspond to Parser's. This doesn't really make any sense and inconveniences the API.
I'd think the strings contained in WootheeResult should likely all be 'static or at the very least tied to the agent &str (if slices are pulled from it).
Here's an example and further discussion:
https://stackoverflow.com/questions/42564300/return-struct-with-lifetime-for-ffi/42564847
The text was updated successfully, but these errors were encountered: