Make card::Type.name private
This commit is contained in:
parent
1b41ff5af4
commit
b71d340c81
@ -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>>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user