remove inlining

This commit is contained in:
2020-07-19 08:42:03 +01:00
parent 3de82cbacc
commit f08f0fdc16
16 changed files with 1 additions and 84 deletions

View File

@@ -9,7 +9,6 @@ pub enum Font {
}
impl Font {
#[inline]
pub(crate) fn from(str: &str) -> Font {
match str {
"unicode_european_small" => Font::UnicodeEuropeanSmall,
@@ -20,7 +19,6 @@ impl Font {
}
}
#[inline]
pub(crate) fn to_string(&self) -> Result<String, &'static str> {
match &self {
Font::UnicodeEuropeanSmall => Ok("unicode_european_small".to_string()),