clippy: fix warnings on modules outside components (#31567)

This commit is contained in:
eri 2024-03-08 00:42:39 +01:00 committed by GitHub
parent 3b19189896
commit 6c7fe31db1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 37 additions and 46 deletions

View file

@ -9,8 +9,8 @@ use style::stylesheets::{Namespaces, Origin};
use style_traits::ParseError;
use url::Url;
fn parse_selector<'i, 't>(
input: &mut Parser<'i, 't>,
fn parse_selector<'i>(
input: &mut Parser<'i, '_>,
) -> Result<SelectorList<SelectorImpl>, ParseError<'i>> {
let mut ns = Namespaces::default();
ns.prefixes