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

Stabilize raw::Slice #945

Closed
mahkoh opened this issue Mar 5, 2015 · 2 comments
Closed

Stabilize raw::Slice #945

mahkoh opened this issue Mar 5, 2015 · 2 comments

Comments

@mahkoh
Copy link
Contributor

mahkoh commented Mar 5, 2015

Stabilize raw::Slice and the layout of slices.

Knowing the layout of slices is necessary for efficient ffi code.

@Stebalien
Copy link
Contributor

Stebalien commented Aug 20, 2016

Triage: raw::Slice has been deprecated in favor of slice::from_raw_parts, [T]::len, and [T]::as_ptr. See discussion on rust-lang/rust#27751 and PR rust-lang/rust#32804

/cc @alexcrichton

@alexcrichton
Copy link
Member

Indeed!

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

3 participants