diff options
Diffstat (limited to 'mingling_core/src')
| -rw-r--r-- | mingling_core/src/asset/enum_tag.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mingling_core/src/asset/enum_tag.rs b/mingling_core/src/asset/enum_tag.rs index 563d826..28428a6 100644 --- a/mingling_core/src/asset/enum_tag.rs +++ b/mingling_core/src/asset/enum_tag.rs @@ -7,5 +7,7 @@ pub trait EnumTag { fn enums() -> &'static [(&'static str, &'static str)]; /// Build the enum from a name - fn build_enum(name: String) -> Self; + fn build_enum(name: String) -> Option<Self> + where + Self: Sized; } |
