rustfmt

parent f345d614
Pipeline #14473 passed with stages
in 31 minutes and 48 seconds
......@@ -6,7 +6,6 @@ wrap_comments = true
tab_spaces = 4
hard_tabs = false
newline_style = "Unix"
write_mode = "Overwrite"
condense_wildcard_suffixes = false
format_strings = true
normalize_comments = true
......
......@@ -120,7 +120,8 @@ impl Filter for Merge {
let bounds = self.base.get_bounds(ctx);
let mut output_surface = None;
for child in node.children()
for child in node
.children()
.filter(|c| c.get_type() == NodeType::FilterPrimitiveMergeNode)
{
output_surface =
......@@ -176,6 +177,6 @@ pub unsafe extern "C" fn rsvg_new_filter_primitive_merge_node(
NodeType::FilterPrimitiveMergeNode,
parent,
utf8_cstr_opt(id),
Box::new(filter)
Box::new(filter),
)
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment