mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +01:00
clippy: Fix some warnings in components/script
(#31735)
* fix clippy problems * fix clippy error * fix clippy error * fix clippy error * fix clippy error * fix clippy error * fix clippy errors
This commit is contained in:
parent
291fbce434
commit
06a021db55
12 changed files with 60 additions and 69 deletions
|
@ -30,9 +30,9 @@ impl CloseEvent {
|
|||
pub fn new_inherited(was_clean: bool, code: u16, reason: DOMString) -> CloseEvent {
|
||||
CloseEvent {
|
||||
event: Event::new_inherited(),
|
||||
was_clean: was_clean,
|
||||
code: code,
|
||||
reason: reason,
|
||||
was_clean,
|
||||
code,
|
||||
reason,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue