mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
clippy: Fix redundant field names warnings (#31793)
This commit is contained in:
parent
f55d1d288e
commit
2789e98876
97 changed files with 285 additions and 314 deletions
|
@ -3118,7 +3118,7 @@ impl Document {
|
|||
has_browsing_context,
|
||||
implementation: Default::default(),
|
||||
content_type,
|
||||
last_modified: last_modified,
|
||||
last_modified,
|
||||
url: DomRefCell::new(url),
|
||||
// https://dom.spec.whatwg.org/#concept-document-quirks
|
||||
quirks_mode: Cell::new(QuirksMode::NoQuirks),
|
||||
|
@ -3188,8 +3188,8 @@ impl Document {
|
|||
unload_event_start: Cell::new(Default::default()),
|
||||
unload_event_end: Cell::new(Default::default()),
|
||||
https_state: Cell::new(HttpsState::None),
|
||||
origin: origin,
|
||||
referrer: referrer,
|
||||
origin,
|
||||
referrer,
|
||||
referrer_policy: Cell::new(referrer_policy),
|
||||
target_element: MutNullableDom::new(None),
|
||||
last_click_info: DomRefCell::new(None),
|
||||
|
@ -3201,7 +3201,7 @@ impl Document {
|
|||
form_id_listener_map: Default::default(),
|
||||
interactive_time: DomRefCell::new(interactive_time),
|
||||
tti_window: DomRefCell::new(InteractiveWindow::default()),
|
||||
canceller: canceller,
|
||||
canceller,
|
||||
throw_on_dynamic_markup_insertion_counter: Cell::new(0),
|
||||
page_showing: Cell::new(false),
|
||||
salvageable: Cell::new(true),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue