You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ConstDefault trait is great, and it should belong in the standard library. Are you aware of (or proposing yourself) an RFC to add this to the Rust standard library?
The text was updated successfully, but these errors were encountered:
Well the hope is that const_trait_impl will cover this by simply allowing std::default::Default to be usable in const contexts, and then this trait could be superseded by a ~const Default bound! It even looks like unstable rust has gained some const Default impls semi-recently.
The
ConstDefault
trait is great, and it should belong in the standard library. Are you aware of (or proposing yourself) an RFC to add this to the Rust standard library?The text was updated successfully, but these errors were encountered: