diff --git a/src/types/name.rs b/src/types/name.rs index e654561..9f86f83 100644 --- a/src/types/name.rs +++ b/src/types/name.rs @@ -92,7 +92,7 @@ pub enum NameAttribute<'a> { Custom(Cow<'a, str>), } -impl<'a> NameAttribute<'a> { +impl NameAttribute<'static> { fn system(s: &str) -> Option { match s { "\\Noinferiors" => Some(NameAttribute::NoInferiors),