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

Replaced RawDocument by OwnedBytes #1046

Merged
merged 1 commit into from
May 18, 2021
Merged

Conversation

fulmicoton
Copy link
Collaborator

@fulmicoton fulmicoton commented May 18, 2021

This PR removes RawDocument and uses OwnedBytes instead.

OwnedBytes is a self referring struct that offers a slice of data (&[u8]) and its ownership.
It is similar in many ways to RawDocument.

It implements Read.

@fulmicoton fulmicoton requested a review from PSeitz May 18, 2021 01:00
@fulmicoton fulmicoton force-pushed the owned-bytes-instead-of-rawdoc branch from a125e74 to cdc436c Compare May 18, 2021 01:42
@fulmicoton fulmicoton force-pushed the owned-bytes-instead-of-rawdoc branch from cdc436c to 913850b Compare May 18, 2021 01:47
Copy link
Contributor

@PSeitz PSeitz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is much nicer

@fulmicoton fulmicoton merged commit 7ba771e into main May 18, 2021
@fulmicoton fulmicoton deleted the owned-bytes-instead-of-rawdoc branch May 18, 2021 05:51
This was referenced Feb 18, 2022
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.

2 participants