Skip to content

Commit 3be83b0

Browse files
committed
Apply a suggestion from Clippy
1 parent 598411c commit 3be83b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/parser/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ trait GetAttributeValue {
364364
fn get_item(&mut self, name: &str) -> Option<(xml::StrSpan<'_>, xml::StrSpan<'_>)>;
365365
}
366366

367-
impl<'a> GetAttributeValue for Attributes<'a> {
367+
impl GetAttributeValue for Attributes<'_> {
368368
fn get_value(&mut self, name: &str) -> Option<xml::StrSpan<'_>> {
369369
self.get_item(name).map(|(_, v)| v)
370370
}

0 commit comments

Comments
 (0)