mirror of
https://github.com/servo/servo.git
synced 2025-06-11 10:00:18 +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
|
@ -277,7 +277,7 @@ impl<'a> StylesheetLoader<'a> {
|
|||
.map(HTMLLinkElement::get_request_generation_id);
|
||||
let context = ::std::sync::Arc::new(Mutex::new(StylesheetContext {
|
||||
elem: Trusted::new(self.elem),
|
||||
source: source,
|
||||
source,
|
||||
url: url.clone(),
|
||||
metadata: None,
|
||||
data: vec![],
|
||||
|
@ -381,7 +381,7 @@ impl<'a> StyleStylesheetLoader for StylesheetLoader<'a> {
|
|||
context.url_data.clone(),
|
||||
context.quirks_mode,
|
||||
),
|
||||
media: media,
|
||||
media,
|
||||
shared_lock: lock.clone(),
|
||||
disabled: AtomicBool::new(false),
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue