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

Clean up unwrap #29

Merged
merged 2 commits into from
May 3, 2015
Merged

Clean up unwrap #29

merged 2 commits into from
May 3, 2015

Conversation

Stebalien
Copy link
Owner

Remove UnwrappableTerminal trait and rename unwrap to into_inner. As far as I
know, the trait existed to make Terminal object safe but that's no longer an
issue as one can specify Self: Sized on object unsafe methods.

Unless I'm mistaken, this only existed to ensure that Terminal is object
safe. However, it's now possible to specify `Self: Sized` on methods to
exclude them from objects so the extra trait should be unnecessary.

[breaking-change]
Convention.

[breaking-change]
@rust-highfive
Copy link

r? @huonw

(rust_highfive has picked a reviewer for you, use r? to override)

@Stebalien
Copy link
Owner Author

r? @alexcrichton

@rust-highfive rust-highfive assigned alexcrichton and unassigned huonw May 2, 2015
@alexcrichton
Copy link
Collaborator

Thanks!

alexcrichton added a commit that referenced this pull request May 3, 2015
@alexcrichton alexcrichton merged commit 09b1a21 into Stebalien:master May 3, 2015
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.

4 participants