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

Add methods to take ownership of fragment and extra data #91

Merged
merged 1 commit into from
Aug 22, 2023
Merged

Add methods to take ownership of fragment and extra data #91

merged 1 commit into from
Aug 22, 2023

Conversation

Palladinium
Copy link
Contributor

Closes #62.

I've just found myself needing this feature since I want to parse into a borrowed struct without cloning the original data, and I do not want to return a LocatedSpan<&'a str>.

@progval
Copy link
Collaborator

progval commented Aug 22, 2023

Thanks!

@progval progval merged commit 9aaf7b0 into fflorent:master Aug 22, 2023
13 checks passed
@progval
Copy link
Collaborator

progval commented Aug 22, 2023

Released in v4.2.0

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.

Can't de-structure a LocatedSpan to take ownership of its fragment or extra data
2 participants