Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Make constructor methods const #85

Open
alice-i-cecile opened this issue Jul 22, 2022 · 1 comment
Open

Make constructor methods const #85

alice-i-cecile opened this issue Jul 22, 2022 · 1 comment

Comments

@alice-i-cecile
Copy link

This allows const constructors in upstream crates, and should be a trivial change.

@orlp
Copy link
Owner

orlp commented Jul 23, 2022

I definitely should make them const where possible, not all of them can be though (e.g. SparseSecondaryMap can't be because HashMap::new isn't const).

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants