diff options
author | eri <eri@inventati.org> | 2024-03-13 09:31:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-13 08:31:58 +0000 |
commit | 03d64d0675d4d1878232829293e7fdacaec5844e (patch) | |
tree | 6162101c1928052c9c08232e4e7ac784a875a64f /components/script/dom/document.rs | |
parent | 0fda14263a206d99792fcfbec6a5f6dfdb5ff337 (diff) | |
download | servo-03d64d0675d4d1878232829293e7fdacaec5844e.tar.gz servo-03d64d0675d4d1878232829293e7fdacaec5844e.zip |
clippy: Fix assorted warnings in `components/` (#31628)
* clippy: fix assorted warnings in `components/`
* fix: new and default
* fix: review comments
Diffstat (limited to 'components/script/dom/document.rs')
-rw-r--r-- | components/script/dom/document.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/document.rs b/components/script/dom/document.rs index f2e30a0fe27..43059b0f5bb 100644 --- a/components/script/dom/document.rs +++ b/components/script/dom/document.rs @@ -3200,7 +3200,7 @@ impl Document { fullscreen_element: MutNullableDom::new(None), form_id_listener_map: Default::default(), interactive_time: DomRefCell::new(interactive_time), - tti_window: DomRefCell::new(InteractiveWindow::new()), + tti_window: DomRefCell::new(InteractiveWindow::default()), canceller: canceller, throw_on_dynamic_markup_insertion_counter: Cell::new(0), page_showing: Cell::new(false), |