aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_task.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/script_task.rs')
-rw-r--r--components/script/script_task.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/script_task.rs b/components/script/script_task.rs
index 80441a60c9b..6f15836eb5d 100644
--- a/components/script/script_task.rs
+++ b/components/script/script_task.rs
@@ -17,7 +17,7 @@
//! a page runs its course and the script task returns to processing events in the main event
//! loop.
-#![allow(unsafe_blocks)]
+#![allow(unsafe_code)]
use dom::bindings::cell::DOMRefCell;
use dom::bindings::codegen::Bindings::DocumentBinding::{DocumentMethods, DocumentReadyState};