From 189eefe6c8b450802f78cb0e3c422e34baa1969b Mon Sep 17 00:00:00 2001 From: Alex Martens Date: Sat, 20 Apr 2024 11:01:49 -0700 Subject: [PATCH] fix dead_code compile error Removes the unused CommonLang type. --- src/config/mod.rs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/config/mod.rs b/src/config/mod.rs index 2e78128d..4e2f86eb 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -39,17 +39,6 @@ use std::fmt; use std::io::Read; use std::path::{Path, PathBuf}; -// TODO figure out which ISO spec this actually is -pub struct CommonLang(String); - -impl std::str::FromStr for CommonLang { - type Err = Error; - fn from_str(_s: &str) -> std::result::Result { - // - unimplemented!("Common Lang needs a ref spec") - } -} - #[derive(Deserialize, Serialize, Debug, Clone)] #[serde(deny_unknown_fields)] pub struct Config {