mirror of
https://github.com/servo/servo.git
synced 2025-07-21 22:33:41 +01: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
|
@ -453,14 +453,14 @@ impl EventSource {
|
|||
fn new_inherited(url: ServoUrl, with_credentials: bool) -> EventSource {
|
||||
EventSource {
|
||||
eventtarget: EventTarget::new_inherited(),
|
||||
url: url,
|
||||
url,
|
||||
request: DomRefCell::new(None),
|
||||
last_event_id: DomRefCell::new(DOMString::from("")),
|
||||
reconnection_time: Cell::new(DEFAULT_RECONNECTION_TIME),
|
||||
generation_id: Cell::new(GenerationId(0)),
|
||||
|
||||
ready_state: Cell::new(ReadyState::Connecting),
|
||||
with_credentials: with_credentials,
|
||||
with_credentials,
|
||||
canceller: DomRefCell::new(Default::default()),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue