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

Add a note to AllocRef, that implementation don't always has to be 'static #77

Open
TimDiekmann opened this issue Nov 28, 2020 · 0 comments
Assignees
Labels
A-Alloc Trait Issues regarding the Alloc trait

Comments

@TimDiekmann
Copy link
Member

In rust-lang/rust#79327 some 'static bounds were added to the Pin-API of Box. A note should be added somewhere (most likely to AllocRef, that this is not always required.

as we add allocator parameters, it can be easy to think that it'll always be 'static. Noting somewhere that this is not true explicitly I think would be good. Not directly related to Pin, though.

This is a reminder for me so that I don't forget to add it as soon as I have a chance.

@TimDiekmann TimDiekmann added the A-Alloc Trait Issues regarding the Alloc trait label Nov 28, 2020
@TimDiekmann TimDiekmann self-assigned this Nov 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Alloc Trait Issues regarding the Alloc trait
Projects
None yet
Development

No branches or pull requests

1 participant