[librsvg] rustfmt
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg] rustfmt
- Date: Tue, 5 Jun 2018 22:37:19 +0000 (UTC)
commit a4ccc04a238d8ba2f660a9c79921cc845d871e48
Author: Federico Mena Quintero <federico gnome org>
Date: Tue Jun 5 17:36:30 2018 -0500
rustfmt
.rustfmt.toml | 1 -
rsvg_internals/src/filters/merge.rs | 5 +++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/.rustfmt.toml b/.rustfmt.toml
index 9d6f9fdd..1dabca43 100644
--- a/.rustfmt.toml
+++ b/.rustfmt.toml
@@ -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
diff --git a/rsvg_internals/src/filters/merge.rs b/rsvg_internals/src/filters/merge.rs
index 8bf713c7..9940a4e5 100644
--- a/rsvg_internals/src/filters/merge.rs
+++ b/rsvg_internals/src/filters/merge.rs
@@ -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),
)
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]