fix error message

This commit is contained in:
Edvin Bryntesson committed 2024-08-20 12:29:39 +02:00
1 parent 23613194a7
commit 47a7117fea
1 file changed
+1
+1
View File
@@ -15,6 +15,7 @@ pub struct RegistryElement {
lazy_static! { lazy_static! {
static ref REGISTRY: HashMap<String, RegistryElement> = static ref REGISTRY: HashMap<String, RegistryElement> =
serde_json::from_str(REGISTRY_JSON).expect("Could not parse items.json registry."); serde_json::from_str(REGISTRY_JSON).expect("Could not parse items.json registry.");
serde_json::from_str(REGISTRY_JSON).expect("Could not parse registry.json registry.");
} }
pub fn get_protocol_id(category: &str, entry: &str) -> u32 { pub fn get_protocol_id(category: &str, entry: &str) -> u32 {