Skip to content

Commit fadb28a

Browse files
committed
Revert accidental static lifetime to non-static.
1 parent 7e581a6 commit fadb28a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types/name.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ pub enum NameAttribute<'a> {
9292
Custom(Cow<'a, str>),
9393
}
9494

95-
impl<'a> NameAttribute<'a> {
95+
impl NameAttribute<'static> {
9696
fn system(s: &str) -> Option<Self> {
9797
match s {
9898
"\\Noinferiors" => Some(NameAttribute::NoInferiors),

0 commit comments

Comments
 (0)