aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/parse
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2015-08-11 17:44:21 -0700
committerEli Friedman <eli.friedman@gmail.com>2015-09-02 15:50:17 -0700
commit94dec69247504a976cfa61495da759286160abec (patch)
treea397ec2ed27ddc1cf18616148ab7c9784cbe68be /components/script/parse
parentda02dba9793f373c6c9cdc1e0bd1c3411cfcc4ba (diff)
downloadservo-94dec69247504a976cfa61495da759286160abec.tar.gz
servo-94dec69247504a976cfa61495da759286160abec.zip
Fix up some unnecessary uses of `unsafe`.
Diffstat (limited to 'components/script/parse')
-rw-r--r--components/script/parse/html.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/parse/html.rs b/components/script/parse/html.rs
index a2dd0109ed1..5cd6860b9ba 100644
--- a/components/script/parse/html.rs
+++ b/components/script/parse/html.rs
@@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-#![allow(unsafe_code, unrooted_must_root)]
+#![allow(unrooted_must_root)]
use document_loader::DocumentLoader;
use dom::bindings::codegen::Bindings::DocumentBinding::DocumentMethods;