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

Ability to pass ownership of unsized types #990

Open
nikomatsakis opened this Issue Mar 19, 2015 · 1 comment

Comments

Projects
None yet
3 participants
@nikomatsakis
Copy link
Contributor

nikomatsakis commented Mar 19, 2015

Currently you can't use unsized types as parameters or return values. There are good reasons to support this, including passing closures to fns and being able to write things like Rc::new(*slice) where slice has type Box<[T]> or what have you.

Postponed RFCs:

@Centril

This comment has been minimized.

Copy link
Contributor

Centril commented Oct 7, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.