Revert accidental static lifetime to non-static.

This commit is contained in:
Todd Mortimer 2021-07-25 22:13:53 -04:00
parent 7e581a6b5e
commit fadb28a32b

View file

@ -92,7 +92,7 @@ pub enum NameAttribute<'a> {
Custom(Cow<'a, str>), Custom(Cow<'a, str>),
} }
impl<'a> NameAttribute<'a> { impl NameAttribute<'static> {
fn system(s: &str) -> Option<Self> { fn system(s: &str) -> Option<Self> {
match s { match s {
"\\Noinferiors" => Some(NameAttribute::NoInferiors), "\\Noinferiors" => Some(NameAttribute::NoInferiors),