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

Return Bump from collections #169

Open
zetanumbers opened this issue Jun 27, 2022 · 2 comments
Open

Return Bump from collections #169

zetanumbers opened this issue Jun 27, 2022 · 2 comments

Comments

@zetanumbers
Copy link
Contributor

I would argue that it is our best to name methods like in allocator_api feature (Box::allocator, Box::into_inner_with_allocator, etc.)

@fitzgen
Copy link
Owner

fitzgen commented Jun 27, 2022

Not sure it is worth copying more of std here, rather than just waiting for the allocator API to stabilize.

@zetanumbers
Copy link
Contributor Author

This is mostly for ergonomics, for example to eliminate creation of arbitrary lifetimes for from_raw* functions.

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

No branches or pull requests

2 participants