Skip to content

Rename rust::Slice<T> to rust::Slice<const T> #453

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

Merged
merged 1 commit into from
Nov 11, 2020
Merged

Rename rust::Slice<T> to rust::Slice<const T> #453

merged 1 commit into from
Nov 11, 2020

Conversation

dtolnay
Copy link
Owner

@dtolnay dtolnay commented Nov 11, 2020

I suspect this will fit the C++ type system better.

Makes room for &mut [T] support as rust::Slice<T> in #451 #452.

@dtolnay dtolnay merged commit 6bd29d5 into master Nov 11, 2020
@dtolnay dtolnay deleted the sliceconst branch November 11, 2020 19:33
@2xsaiko 2xsaiko mentioned this pull request Nov 11, 2020
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.

1 participant