Skip to content

Commit ffacef3

Browse files
committed
Fixes for clippy - Rust 1.84
1 parent 381bf98 commit ffacef3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

native/html5ever_nif/src/common.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ use tendril::StrTendril;
1010
pub struct QualNameWrapper<'a>(pub &'a QualName);
1111
pub struct StrTendrilWrapper<'a>(pub &'a StrTendril);
1212

13-
impl<'b> Encoder for QualNameWrapper<'b> {
13+
impl Encoder for QualNameWrapper<'_> {
1414
fn encode<'a>(&self, env: Env<'a>) -> Term<'a> {
1515
let data: &str = &self.0.local;
1616
data.encode(env)
1717
}
1818
}
19-
impl<'b> Encoder for StrTendrilWrapper<'b> {
19+
impl Encoder for StrTendrilWrapper<'_> {
2020
fn encode<'a>(&self, env: Env<'a>) -> Term<'a> {
2121
let data: &str = self.0;
2222
data.encode(env)

0 commit comments

Comments
 (0)