Skip to content

collections/slice: Reexport mut_ref_slice in addition to ref_slice. #17002

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
Sep 6, 2014

Conversation

tari
Copy link
Contributor

@tari tari commented Sep 5, 2014

std::slice exported ref_slice but not mut_ref_slice. This change makes it export both.

bors added a commit that referenced this pull request Sep 6, 2014
`std::slice` exported `ref_slice` but not `mut_ref_slice`. This change makes it export both.
@bors bors closed this Sep 6, 2014
@bors bors merged commit 0b53cc5 into rust-lang:master Sep 6, 2014
lnicola pushed a commit to lnicola/rust that referenced this pull request Apr 7, 2024
internal: Consider ADT generic parameter defaults for unsubstituted layout calculations

For one, this brings back layout information for lifetime generic ADTs (which "regressed" when we started adding lifetimes to chalks-ir), but it also allows layout calculation to work for definitions that don't actually use the generics (where its only used in a `PhantomData` for example)
lnicola pushed a commit to lnicola/rust that referenced this pull request Apr 20, 2024
internal: Consider ADT generic parameter defaults for unsubstituted layout calculations

For one, this brings back layout information for lifetime generic ADTs (which "regressed" when we started adding lifetimes to chalks-ir), but it also allows layout calculation to work for definitions that don't actually use the generics (where its only used in a `PhantomData` for example)
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