From fadb28a32b3b1d879b4437f2e173445d5f14b909 Mon Sep 17 00:00:00 2001 From: Todd Mortimer Date: Sun, 25 Jul 2021 22:13:53 -0400 Subject: [PATCH] Revert accidental static lifetime to non-static. --- src/types/name.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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),