aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/performanceobserver.rs
diff options
context:
space:
mode:
authorEkta Siwach <137225906+ektuu@users.noreply.github.com>2024-03-25 15:52:21 +0530
committerGitHub <noreply@github.com>2024-03-25 10:22:21 +0000
commitd8adeb1b44cd99563e29309c31dcc9a008951a63 (patch)
treeeb6ecfdc4c1f19270f327e566082731b0a973009 /components/script/dom/performanceobserver.rs
parentdbe3cb8a3c169020ba6e61390c9ae6d4725aa0ae (diff)
downloadservo-d8adeb1b44cd99563e29309c31dcc9a008951a63.tar.gz
servo-d8adeb1b44cd99563e29309c31dcc9a008951a63.zip
clippy: Fix some warnings in `components/script` (#31849)
* clippy: fixed some warnings in components/script * fixed formatting * fix formatting
Diffstat (limited to 'components/script/dom/performanceobserver.rs')
-rw-r--r--components/script/dom/performanceobserver.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/performanceobserver.rs b/components/script/dom/performanceobserver.rs
index ebf6e95d615..4d73ebc8daf 100644
--- a/components/script/dom/performanceobserver.rs
+++ b/components/script/dom/performanceobserver.rs
@@ -27,7 +27,7 @@ use crate::dom::performanceobserverentrylist::PerformanceObserverEntryList;
use crate::script_runtime::JSContext;
/// List of allowed performance entry types, in alphabetical order.
-pub const VALID_ENTRY_TYPES: &'static [&'static str] = &[
+pub const VALID_ENTRY_TYPES: &[&str] = &[
// "frame", //TODO Frame Timing API
"mark", // User Timing API
"measure", // User Timing API