Skip to content

Conversation

Cyborus04
Copy link
Contributor

No description provided.

@taiki-e
Copy link
Member

taiki-e commented Nov 11, 2021

Is there a way to create BytesMut in const? If not, this does not seem to be available in practice.

@taiki-e
Copy link
Member

taiki-e commented Nov 11, 2021

Ah, it was previously proposed, but I closed it for compatibility with future implementation changes. #472 (review)

@Cyborus04
Copy link
Contributor Author

I guess there isn't, you're right. I think new could be made const, but I'm not sure how useful that would be.

@Cyborus04
Copy link
Contributor Author

Ah, yep, haha

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.

2 participants