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

MaybeUninit::read has been renamed into assume_init_read #42

Closed
timothee-haudebourg opened this issue Sep 13, 2020 · 1 comment
Closed

Comments

@timothee-haudebourg
Copy link

timothee-haudebourg commented Sep 13, 2020

Hi,

yesterday the MaybeUninit::read function has been renamed into assume_init_read via this commit. It has been briefly discussed here before that. Of course this means that staticvec does not compile with the lastest nightly build.

    --> src/lib.rs:1693:29
     |
1693 |       unsafe { Ok(self.data.read()) }
     |                             ^^^^ method not found in `MaybeUninit<[T; N]>`
timothee-haudebourg added a commit to timothee-haudebourg/staticvec that referenced this issue Sep 13, 2020
This method has been renamed from `MaybeUninit::read`.
Fixes issue slightlyoutofphase#42.
@slightlyoutofphase
Copy link
Owner

I've fixed this issue myself now, as it was the first thing I noticed when I tried to compile the crate earlier today with the latest nightly. Thanks for being proactive though!

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

No branches or pull requests

2 participants