Skip to content

Commit

Permalink
Address ftml clippy lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ammon Smith committed Jun 10, 2022
1 parent 9623b74 commit 2316870
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ftml/src/tree/list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ impl ListItem<'_> {
elements: elements_to_owned(elements),
},
ListItem::SubList { element } => {
let element: &Element = &*element;
let element: &Element = element;

ListItem::SubList {
element: Box::new(element.to_owned()),
Expand Down

0 comments on commit 2316870

Please sign in to comment.