Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

separate lifetimes from the parser and result version 2 #8

Merged
merged 1 commit into from
Apr 11, 2018

Conversation

pjenvey
Copy link
Contributor

@pjenvey pjenvey commented Apr 4, 2018

@hhatto, here's a long the lines of what I described in #6 (comment)

It seems removing the forceful tying of Parser lifetimes to WootheeResults and clarifying lookup_dataset dealt with 'static WootheeResults was all that was needed

(diff against 83e1979 to see what I mean)

Closes #6

Verified

This commit was signed with the committer’s verified signature.
pjenvey Philip Jenvey
don't forcefully tie them and clarify lookup_dataset works w/ 'static
WootheeResults

Closes woothee#6
@pjenvey pjenvey force-pushed the separate-lifetime-parser-and-result2 branch from 12b208d to 5c350f1 Compare April 4, 2018 23:06
@pjenvey
Copy link
Contributor Author

pjenvey commented Apr 4, 2018

You could probably even make version a &'a str (tied to an agent: &'a str) with enough effort, since I think it's all derived from regex matches on agent

@hhatto
Copy link
Member

hhatto commented Apr 11, 2018

@pjenvey
Sorry for late relpy.

LGTM

You could probably even make version a &'a str (tied to an agent: &'a str) with enough effort, since I think it's all derived from regex matches on agent

I see. I will also convert os_version and version to &'a str.

@hhatto hhatto merged commit c183f34 into woothee:master Apr 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants