mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Auto merge of #11614 - Ms2ger:deny-unsafe, r=nox
Deny unsafe code in some more modules. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11614) <!-- Reviewable:end -->
This commit is contained in:
commit
a4650233f0
3 changed files with 0 additions and 7 deletions
|
@ -2,8 +2,6 @@
|
|||
* 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)]
|
||||
|
||||
use std::collections::HashMap;
|
||||
use std::env;
|
||||
use std::fs::File;
|
||||
|
|
|
@ -2,9 +2,6 @@
|
|||
* 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/. */
|
||||
|
||||
// For lazy_static
|
||||
#![allow(unsafe_code)]
|
||||
|
||||
use dom::PresentationalHintsSynthetizer;
|
||||
use element_state::*;
|
||||
use error_reporting::StdoutErrorReporter;
|
||||
|
|
|
@ -54,10 +54,8 @@ pub mod linked_list;
|
|||
#[allow(unsafe_code)]
|
||||
pub mod opts;
|
||||
pub mod panicking;
|
||||
#[allow(unsafe_code)]
|
||||
pub mod prefs;
|
||||
pub mod print_tree;
|
||||
#[allow(unsafe_code)]
|
||||
pub mod resource_files;
|
||||
#[allow(unsafe_code)]
|
||||
pub mod str;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue