-
Notifications
You must be signed in to change notification settings - Fork 20
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
Is it possible to make basic ops const-fn? #9
Comments
I think |
It's not stable now? |
Yup, it's stable and good to go! |
While I understand that |
I was initially thinking about just inherent functions. The |
Is it possible to make basic ops const-fn? E.g.
fn mul(self, r: T) -> Self::Output
.To allow them to be used in constant initializations (without incurring the overhead of lazy_static).
The text was updated successfully, but these errors were encountered: