mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
clippy: Fix some warnings in components/script
(#31849)
* clippy: fixed some warnings in components/script * fixed formatting * fix formatting
This commit is contained in:
parent
dbe3cb8a3c
commit
d8adeb1b44
7 changed files with 24 additions and 27 deletions
|
@ -29,7 +29,7 @@ use crate::dom::performancenavigationtiming::PerformanceNavigationTiming;
|
|||
use crate::dom::performanceobserver::PerformanceObserver as DOMPerformanceObserver;
|
||||
use crate::dom::window::Window;
|
||||
|
||||
const INVALID_ENTRY_NAMES: &'static [&'static str] = &[
|
||||
const INVALID_ENTRY_NAMES: &[&str] = &[
|
||||
"navigationStart",
|
||||
"unloadEventStart",
|
||||
"unloadEventEnd",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue