config: support enum cloning

This commit is contained in:
Mitchell Hashimoto
2023-07-06 18:13:26 -07:00
parent 02d0619f87
commit 247638c2da

View File

@ -818,6 +818,7 @@ pub const Config = struct {
inline .Bool,
.Int,
.Float,
.Enum,
=> return src,
.Optional => |info| return try cloneValue(