From b71d340c81f6e1f5d59a947864c4e675eb703cd0 Mon Sep 17 00:00:00 2001 From: pjht Date: Sat, 12 Nov 2022 09:05:03 -0600 Subject: [PATCH] Make card::Type.name private --- src/card.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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>, }