Make card::Type.name private

This commit is contained in:
pjht 2022-11-12 09:05:03 -06:00
parent 1b41ff5af4
commit b71d340c81

View File

@ -23,7 +23,7 @@ impl Config<'_> {
} }
pub struct Type { pub struct Type {
pub name: &'static str, name: &'static str,
new: fn(data: Value) -> anyhow::Result<Box<dyn Card>>, new: fn(data: Value) -> anyhow::Result<Box<dyn Card>>,
} }