Questions tagged [default]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer

Is there a way to get Anchor to use enum defaults?

It seems that Anchor isn't using default values on enums. I create an account containing an enum with a Default, and don't set a value on that enum. Example #![feature(derive_default_enum)] ...
  • 1,723