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

Add unsafe to Unique::new #85

Merged
merged 1 commit into from
Dec 23, 2015
Merged

Add unsafe to Unique::new #85

merged 1 commit into from
Dec 23, 2015

Conversation

alicemaz
Copy link
Contributor

previously compile would fail with E0133

previously compile would fail with E0133
@alicemaz
Copy link
Contributor Author

this brings the post in line with

buffer: unsafe { Unique::new(0xb8000 as *mut _) },

phil-opp added a commit that referenced this pull request Dec 23, 2015
Add missing unsafe to Unique::new
@phil-opp phil-opp merged commit ad8e9da into phil-opp:master Dec 23, 2015
@phil-opp
Copy link
Owner

Thanks a lot!

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