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

Make more VirtAddr and PhysAddr methods const #369

Merged
merged 1 commit into from
Mar 31, 2022
Merged

Make more VirtAddr and PhysAddr methods const #369

merged 1 commit into from
Mar 31, 2022

Conversation

josephlr
Copy link
Contributor

Specifically:

  • VirtAddr::as_ptr()
  • VirtAddr::as_mut_ptr()
  • PhysAddr::new()
  • PhysAddr::try_new()

Signed-off-by: Joe Richey [email protected]

Specifically:
  - VirtAddr::as_ptr()
  - VirtAddr::as_mut_ptr()
  - PhysAddr::new()
  - PhysAddr::try_new()

Signed-off-by: Joe Richey <[email protected]>
@josephlr josephlr requested review from phil-opp and Freax13 March 31, 2022 07:02
This was referenced Mar 31, 2022
Copy link
Member

@phil-opp phil-opp left a comment

Choose a reason for hiding this comment

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

Looks good, thanks!

@josephlr josephlr merged commit d64cc5a into master Mar 31, 2022
@josephlr josephlr deleted the const branch March 31, 2022 17:08
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.

3 participants