Skip to content

Remove some more protocol lifetime parameters #694

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

Conversation

nicholasbishop
Copy link
Member

Similar to #689, drop some 'boot lifetimes from a few more older protocol implementations. These protocols have internal data pointers, and they are best expressed as raw pointers because we don't actually control the lifetime. When returning the data via a method we can tie the borrow's lifetime to &self.

Checklist

  • Sensible git history (for example, squash "typo" or "fix" commits). See the Rewriting History guide for help.
  • Update the changelog (if necessary)

This is better expressed with a raw pointer.
This is better expressed with a raw pointer.
This is better expressed with a raw pointer.
@phip1611 phip1611 merged commit 6d3751f into rust-osdev:main Mar 12, 2023
@nicholasbishop nicholasbishop deleted the bishop-remove-more-boot-param branch March 12, 2023 16:30
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