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

fix: remove usage of HEAP mut ref in example #54

Merged

Conversation

wcampbell0x2a
Copy link
Contributor

Remove &mut and just use .as_ptr() as the function requires

Remove &mut and just use .as_ptr() as the function requires
@rust-highfive
Copy link

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @adamgreig (or someone else) soon.

Please see the contribution instructions for more information.

@thejpster
Copy link
Contributor

Sorry for the delay. Makes sense to me.

Copy link
Member

@adamgreig adamgreig left a comment

Choose a reason for hiding this comment

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

I missed this, thanks!

bors r+

@bors
Copy link
Contributor

bors bot commented Apr 5, 2022

@bors bors bot merged commit aa48d77 into rust-embedded:master Apr 5, 2022
@wcampbell0x2a wcampbell0x2a deleted the remove-use-of-mutable-ref-example branch November 6, 2022 04:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants