diff --git a/src/parser/parse/unit.rs b/src/parser/parse/unit.rs index aa19580ac2..e89986f8ac 100644 --- a/src/parser/parse/unit.rs +++ b/src/parser/parse/unit.rs @@ -39,12 +39,6 @@ impl Unit { } } -impl From<&str> for Unit { - fn from(input: &str) -> Unit { - Unit::from_str(input).unwrap() - } -} - impl FromStr for Unit { type Err = (); fn from_str(input: &str) -> Result::Err> {