diff --git a/src/card.rs b/src/card.rs index 3a05680..345b699 100644 --- a/src/card.rs +++ b/src/card.rs @@ -23,7 +23,7 @@ impl Config<'_> { } pub struct Type { - pub name: &'static str, + name: &'static str, new: fn(data: Value) -> anyhow::Result>, }