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

Use core::ptr::addr_of! macro instead of static mutable #251

Merged
merged 1 commit into from
Apr 30, 2024

Conversation

plaes
Copy link
Contributor

@plaes plaes commented Apr 30, 2024

While at it, clean up and simplify some single use imports.

Though, I'm not sure whether to use &mut addr_of_mut!() in both cases or not...

While at it, clean up and simplify some single use imports.
@Dirbaio Dirbaio added this pull request to the merge queue Apr 30, 2024
Merged via the queue into embassy-rs:master with commit a6c5b15 Apr 30, 2024
1 check passed
@plaes plaes deleted the addr-of-macro branch April 30, 2024 13:27
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