Skip to content

Improve Handle buffer handling code #314

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

Merged
merged 1 commit into from
Nov 26, 2021
Merged

Improve Handle buffer handling code #314

merged 1 commit into from
Nov 26, 2021

Conversation

necauqua
Copy link
Contributor

Only now, after #309 was merged, I learned that there is a cleaner unstable way of using a vector as an unitialized buffer and then marking it as initialized without any pointer reinterpretations.

Here is a change that implements that - check it out.

@nicholasbishop
Copy link
Member

Nice, much simpler indeed.

@nicholasbishop nicholasbishop merged commit c00bb56 into rust-osdev:master Nov 26, 2021
@necauqua necauqua deleted the improve-handle-vec-code branch November 26, 2021 06:12
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