Skip to content

Backport MaybeUninit changes to 0.6#180

Merged
emilio merged 3 commits intoservo:0.6from
mbrubeck:maybe_uninit
Nov 5, 2019
Merged

Backport MaybeUninit changes to 0.6#180
emilio merged 3 commits intoservo:0.6from
mbrubeck:maybe_uninit

Conversation

@mbrubeck
Copy link
Collaborator

@mbrubeck mbrubeck commented Nov 4, 2019

This is a backport of #162 and #170 to the smallvec 0.6 branch. To avoid bumping the minimum Rust version, the maybe-uninit crate is used in place of std::mem::MaybeUninit. To avoid breaking changes, the Array::ptr and ptr_mut methods are retained but are no longer used, and the API to from_buf_and_len_unchecked is unchanged.

Loading
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