Closed TedDriggs closed 10 months ago
The DefaultExpression type was never updated to accept a path in the right-hand side. This means that #[darling(default = path_to_fn)] doesn't work, while #[darling(default = "path_to_fn")] does. We should allow the quotation-free form.
DefaultExpression
#[darling(default = path_to_fn)]
#[darling(default = "path_to_fn")]
The
DefaultExpression
type was never updated to accept a path in the right-hand side. This means that#[darling(default = path_to_fn)]
doesn't work, while#[darling(default = "path_to_fn")]
does. We should allow the quotation-free form.