I see RFC: The ConstDefault trait was closed in favor of RFC: const bounds and methods, which was closed also.
I frequently need const initializers, so I wondered about why we don't have ConstDefault
already.
Is this still on the radar?
I see RFC: The ConstDefault trait was closed in favor of RFC: const bounds and methods, which was closed also.
I frequently need const initializers, so I wondered about why we don't have ConstDefault
already.
Is this still on the radar?
Yes, people are working on a solution to this: https://github.com/rust-lang/rust/issues/67792
Cool, thank you!
The current RFC for this work is #2632.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.