Skip to content

Commit b603bbd

Browse files
committed
chore: removed unnecessary curly braces
1 parent 5668655 commit b603bbd

File tree

1 file changed

+1
-3
lines changed
  • components/script/dom/bindings

1 file changed

+1
-3
lines changed

components/script/dom/bindings/root.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -524,9 +524,7 @@ impl<T> Clone for LayoutDom<'_, T> {
524524
#[allow(clippy::non_canonical_clone_impl)]
525525
fn clone(&self) -> Self {
526526
assert_in_layout();
527-
{
528-
*self
529-
}
527+
*self
530528
}
531529
}
532530

0 commit comments

Comments
 (0)