Skip to content

DerefMut should be for Sized? #19520

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
Dec 5, 2014

Conversation

csouth3
Copy link
Contributor

@csouth3 csouth3 commented Dec 4, 2014

Right now, DerefMut is not for Sized?, so you can't impl DerefMut<T> for Foo where Foo is unsized. However, there is no reason that it can't be for Sized?, so this pull request fixes the issue.

Closes #19493.

@alexcrichton alexcrichton merged commit cddbb6a into rust-lang:master Dec 5, 2014
@csouth3 csouth3 deleted the derefmut-unsized branch December 6, 2014 00:16
lnicola pushed a commit to lnicola/rust that referenced this pull request Apr 28, 2025
Align usage of `default` and `new` with style guide
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.

DerefMut should be for Sized?
2 participants