mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Tidy up rust code with regard to new rule (no = in beginning of line)
This commit is contained in:
parent
adcedd8314
commit
bb91ca616c
3 changed files with 6 additions and 6 deletions
|
@ -1283,8 +1283,8 @@ impl BlockFlow {
|
||||||
content_block_size,
|
content_block_size,
|
||||||
available_block_size));
|
available_block_size));
|
||||||
|
|
||||||
candidate_block_size_iterator.candidate_value
|
candidate_block_size_iterator.candidate_value =
|
||||||
= solution.unwrap().block_size;
|
solution.unwrap().block_size;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1290,8 +1290,8 @@ impl<'a, ConcreteThreadSafeLayoutNode: ThreadSafeLayoutNode>
|
||||||
for kid in node.children() {
|
for kid in node.children() {
|
||||||
// CSS 2.1 § 17.2.1. Treat all non-column child fragments of `table-column-group`
|
// CSS 2.1 § 17.2.1. Treat all non-column child fragments of `table-column-group`
|
||||||
// as `display: none`.
|
// as `display: none`.
|
||||||
if let ConstructionResult::ConstructionItem(ConstructionItem::TableColumnFragment(fragment))
|
if let ConstructionResult::ConstructionItem(ConstructionItem::TableColumnFragment(fragment)) =
|
||||||
= kid.swap_out_construction_result() {
|
kid.swap_out_construction_result() {
|
||||||
col_fragments.push(fragment)
|
col_fragments.push(fragment)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -51,8 +51,8 @@ macro_rules! thread_types ( ( $( $fun:ident = $flag:ident ; )* ) => (
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(debug_assertions)]
|
#[cfg(debug_assertions)]
|
||||||
static TYPES: &'static [ThreadState]
|
static TYPES: &'static [ThreadState] =
|
||||||
= &[ $( $flag ),* ];
|
&[ $( $flag ),* ];
|
||||||
));
|
));
|
||||||
|
|
||||||
thread_types! {
|
thread_types! {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue