aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/timers.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/timers.rs')
-rw-r--r--components/script/timers.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/timers.rs b/components/script/timers.rs
index ea0c081d323..d0cb849b0a8 100644
--- a/components/script/timers.rs
+++ b/components/script/timers.rs
@@ -132,7 +132,7 @@ impl TimerManager {
}
}
- #[allow(unsafe_blocks)]
+ #[allow(unsafe_code)]
pub fn set_timeout_or_interval(&self,
callback: TimerCallback,
arguments: Vec<JSVal>,