Tidy up rust code with regard to new rule (no = in beginning of line)

This commit is contained in:
Jure Podgoršek 2017-01-06 20:57:16 +01:00
parent adcedd8314
commit bb91ca616c
3 changed files with 6 additions and 6 deletions

View file

@ -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;
} }
} }
} }

View file

@ -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)
} }
} }

View file

@ -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! {