mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Fix compiler warnings
This commit is contained in:
parent
8b3a49349d
commit
f305c82494
5 changed files with 6 additions and 5 deletions
|
@ -2,6 +2,8 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#![allow(unsafe_code)]
|
||||
|
||||
use crate::dom::bindings::cell::DomRefCell;
|
||||
use crate::dom::bindings::codegen::Bindings::CSSRuleListBinding::CSSRuleListMethods;
|
||||
use crate::dom::bindings::error::{Error, ErrorResult, Fallible};
|
||||
|
@ -21,7 +23,6 @@ use style::stylesheets::{
|
|||
AllowImportRules, CssRules, CssRulesHelpers, KeyframesRule, RulesMutateError,
|
||||
};
|
||||
|
||||
#[allow(unsafe_code)]
|
||||
unsafe_no_jsmanaged_fields!(RulesSource);
|
||||
|
||||
unsafe_no_jsmanaged_fields!(CssRules);
|
||||
|
|
|
@ -636,7 +636,7 @@ macro_rules! handle_potential_webgl_error {
|
|||
}
|
||||
};
|
||||
($context:expr, $call:expr) => {
|
||||
handle_potential_webgl_error!($context, $call, ());
|
||||
handle_potential_webgl_error!($context, $call, ())
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue