slightly improve highlighting performance for derive annotated items

This commit is contained in:
Lukas Wirth 2022-03-03 22:59:34 +01:00
parent 8ded3ec9cf
commit 464dd814ca
3 changed files with 13 additions and 12 deletions

View file

@ -327,9 +327,7 @@ impl<'a> Foo<'_, 'a, 'static>
where
'a: 'a,
'static: 'static
{
}
{}
"#,
expect_file!["./test_data/highlight_lifetimes.html"],
false,