diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-09-09 00:05:17 -0600 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-09-09 00:05:17 -0600 |
commit | be9a9ffda10fa2c50b13f79dabd49255f29f12f6 (patch) | |
tree | 9622df47c5446e93def3e0012de97e31bc188778 /components/script/parse | |
parent | 83972196600f04e817ddb53fda18142778905307 (diff) | |
parent | 94dec69247504a976cfa61495da759286160abec (diff) | |
download | servo-be9a9ffda10fa2c50b13f79dabd49255f29f12f6.tar.gz servo-be9a9ffda10fa2c50b13f79dabd49255f29f12f6.zip |
Auto merge of #7523 - eefriedman:unnecessary-unsafe, r=SimonSapin
Fix up some unnecessary uses of `unsafe`.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7523)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/parse')
-rw-r--r-- | components/script/parse/html.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/parse/html.rs b/components/script/parse/html.rs index 7a0ae327008..8aec2e816e4 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; |