Skip to content

Commit

Permalink
fix dead_code compile error
Browse files Browse the repository at this point in the history
Removes the unused CommonLang type.
  • Loading branch information
newAM committed Apr 21, 2024
1 parent 700d255 commit 189eefe
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/config/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Self, Self::Err> {
//
unimplemented!("Common Lang needs a ref spec")
}
}

#[derive(Deserialize, Serialize, Debug, Clone)]
#[serde(deny_unknown_fields)]
pub struct Config {
Expand Down

0 comments on commit 189eefe

Please sign in to comment.