mirror of
https://github.com/servo/servo.git
synced 2025-06-23 00:24:35 +01:00
style: Remove unneeded allow's.
They're useless right now.
This commit is contained in:
parent
6d4ccab2b7
commit
7788f43c7e
1 changed files with 0 additions and 3 deletions
|
@ -450,7 +450,6 @@ impl Stylist {
|
||||||
///
|
///
|
||||||
/// The returned `StyleRelations` indicate hints about which kind of rules
|
/// The returned `StyleRelations` indicate hints about which kind of rules
|
||||||
/// have matched.
|
/// have matched.
|
||||||
#[allow(unsafe_code)]
|
|
||||||
pub fn push_applicable_declarations<E, V>(
|
pub fn push_applicable_declarations<E, V>(
|
||||||
&self,
|
&self,
|
||||||
element: &E,
|
element: &E,
|
||||||
|
@ -856,7 +855,6 @@ impl SelectorMap {
|
||||||
|
|
||||||
/// Append to `rule_list` all universal Rules (rules with selector `*|*`) in
|
/// Append to `rule_list` all universal Rules (rules with selector `*|*`) in
|
||||||
/// `self` sorted by specifity and source order.
|
/// `self` sorted by specifity and source order.
|
||||||
#[allow(unsafe_code)]
|
|
||||||
pub fn get_universal_rules<V>(&self,
|
pub fn get_universal_rules<V>(&self,
|
||||||
matching_rules_list: &mut V)
|
matching_rules_list: &mut V)
|
||||||
where V: VecLike<ApplicableDeclarationBlock>
|
where V: VecLike<ApplicableDeclarationBlock>
|
||||||
|
@ -913,7 +911,6 @@ impl SelectorMap {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Adds rules in `rules` that match `element` to the `matching_rules` list.
|
/// Adds rules in `rules` that match `element` to the `matching_rules` list.
|
||||||
#[allow(unsafe_code)]
|
|
||||||
fn get_matching_rules<E, V>(element: &E,
|
fn get_matching_rules<E, V>(element: &E,
|
||||||
parent_bf: Option<&BloomFilter>,
|
parent_bf: Option<&BloomFilter>,
|
||||||
rules: &[Rule],
|
rules: &[Rule],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue