Skip to content

Commit e02cb34

Browse files
committed
Fix clippy issue
1 parent e5c8736 commit e02cb34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

native/html5ever_nif/src/flat_dom.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ impl TreeSink for FlatSink {
233233
fn same_node(&self, x: &Self::Handle, y: &Self::Handle) -> bool {
234234
x == y
235235
}
236-
fn elem_name(&self, target: &Self::Handle) -> ExpandedName {
236+
fn elem_name(&self, target: &Self::Handle) -> ExpandedName<'_> {
237237
let node = self.node(*target);
238238
match node.data {
239239
NodeData::Element { ref name, .. } => name.expanded(),

0 commit comments

Comments
 (0)