Skip to content

Conversation

@clarfonthey
Copy link
Contributor

@clarfonthey clarfonthey commented Jun 13, 2025

This is a small step toward making more methods const.

While removing the Default bound was not strictly necessary, I found that it made sense to do given the implementation. Better to mention that it's not used here in the bounds than leave it in.

There are probably other mask methods that could be made const with minimal changes, but I didn't want to touch anything that used intrinsics and/or litter everything with const_eval_select to make it work.

@calebzulawski calebzulawski merged commit 704a1a9 into rust-lang:master Jun 13, 2025
59 checks passed
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.

3 participants