diff --git a/src/macros.rs b/src/macros.rs index a8b1702a8..fb2d50d9e 100644 --- a/src/macros.rs +++ b/src/macros.rs @@ -58,17 +58,6 @@ macro_rules! mk_impl_lang { ( $( ($camel:ident, $name:ident, $display: expr) ),* ) => { impl LANG { - #[allow(dead_code)] - pub(crate) fn get_language(&self) -> Language { - unsafe { - match self { - $( - LANG::$camel => $name(), - )* - } - } - } - /// Returns the name of a language as a `&str`. /// /// # Examples