[librsvg: 4/9] Update rustfmt.
- From: Jordan Petridis <jpetridis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 4/9] Update rustfmt.
- Date: Thu, 1 Mar 2018 12:08:08 +0000 (UTC)
commit be1476553a73faae54eef83f3ef4ddfc0d90827d
Author: Jordan Petridis <jordanpetridis protonmail com>
Date: Wed Feb 28 13:57:36 2018 +0200
Update rustfmt.
rsvg_internals/src/link.rs | 2 +-
rsvg_internals/src/marker.rs | 2 +-
rsvg_internals/src/path_builder.rs | 2 +-
rsvg_internals/src/shapes.rs | 14 +++++++-------
rsvg_internals/src/structure.rs | 14 +++++++-------
5 files changed, 17 insertions(+), 17 deletions(-)
---
diff --git a/rsvg_internals/src/link.rs b/rsvg_internals/src/link.rs
index c15f5d81..01572f91 100644
--- a/rsvg_internals/src/link.rs
+++ b/rsvg_internals/src/link.rs
@@ -114,7 +114,7 @@ impl CairoTagging for cairo::Context {
}
}
-/***** C Prototypes **** * * * * **/
+/***** C Prototypes **** * * * * * * * * * * **/
#[no_mangle]
pub extern "C" fn rsvg_node_link_new(_: *const libc::c_char,
diff --git a/rsvg_internals/src/marker.rs b/rsvg_internals/src/marker.rs
index 252b75cc..d71b7cdf 100644
--- a/rsvg_internals/src/marker.rs
+++ b/rsvg_internals/src/marker.rs
@@ -813,7 +813,7 @@ fn emit_markers_for_path_builder<E>(builder: &RsvgPathBuilder, emit_fn: &mut E)
}
}
-/******************** Tests ******************* * * * * **/
+/******************** Tests ******************* * * * * * * * * * * **/
#[cfg(test)]
mod parser_tests {
diff --git a/rsvg_internals/src/path_builder.rs b/rsvg_internals/src/path_builder.rs
index f80bdebb..2b1de47e 100644
--- a/rsvg_internals/src/path_builder.rs
+++ b/rsvg_internals/src/path_builder.rs
@@ -81,7 +81,7 @@ impl RsvgPathBuilder {
&self.path_commands
}
- /** * * * * **/
+ /** * * * * * * * * * * **/
// x1/y1: starting coordinates
// rx/ry: radiuses before rotation
// x_axis_rotation: Rotation angle for axes, in degrees
diff --git a/rsvg_internals/src/shapes.rs b/rsvg_internals/src/shapes.rs
index d5f6da85..5ebcd90c 100644
--- a/rsvg_internals/src/shapes.rs
+++ b/rsvg_internals/src/shapes.rs
@@ -85,7 +85,7 @@ fn render_ellipse(cx: f64,
render_path_builder(&builder, draw_ctx, node.get_state(), dominate, false);
}
-/***** NodePath **** * * * * **/
+/***** NodePath **** * * * * * * * * * * **/
struct NodePath {
builder: RefCell<Option<RsvgPathBuilder>>,
@@ -126,7 +126,7 @@ impl NodeTrait for NodePath {
}
}
-/***** NodePoly **** * * * * **/
+/***** NodePoly **** * * * * * * * * * * **/
#[derive(Debug, PartialEq)]
enum PolyKind {
@@ -195,7 +195,7 @@ impl NodeTrait for NodePoly {
}
}
-/***** NodeLine **** * * * * **/
+/***** NodeLine **** * * * * * * * * * * **/
struct NodeLine {
x1: Cell<RsvgLength>,
@@ -247,7 +247,7 @@ impl NodeTrait for NodeLine {
}
}
-/***** NodeRect **** * * * * **/
+/***** NodeRect **** * * * * * * * * * * **/
struct NodeRect {
// x, y, width, height
@@ -442,7 +442,7 @@ impl NodeTrait for NodeRect {
}
}
-/***** NodeCircle **** * * * * **/
+/***** NodeCircle **** * * * * * * * * * * **/
struct NodeCircle {
cx: Cell<RsvgLength>,
@@ -491,7 +491,7 @@ impl NodeTrait for NodeCircle {
}
}
-/***** NodeEllipse **** * * * * **/
+/***** NodeEllipse **** * * * * * * * * * * **/
struct NodeEllipse {
cx: Cell<RsvgLength>,
@@ -550,7 +550,7 @@ impl NodeTrait for NodeEllipse {
}
}
-/***** C Prototypes **** * * * * **/
+/***** C Prototypes **** * * * * * * * * * * **/
#[no_mangle]
pub extern "C" fn rsvg_node_path_new(_: *const libc::c_char,
diff --git a/rsvg_internals/src/structure.rs b/rsvg_internals/src/structure.rs
index a81ec0ba..0260eeb4 100644
--- a/rsvg_internals/src/structure.rs
+++ b/rsvg_internals/src/structure.rs
@@ -19,7 +19,7 @@ use util::*;
use viewbox::*;
use viewport::{draw_in_viewport, ClipMode};
-/***** NodeGroup **** * * * * **/
+/***** NodeGroup **** * * * * * * * * * * **/
struct NodeGroup();
@@ -43,7 +43,7 @@ impl NodeTrait for NodeGroup {
}
}
-/***** NodeDefs **** * * * * **/
+/***** NodeDefs **** * * * * * * * * * * **/
struct NodeDefs();
@@ -67,7 +67,7 @@ impl NodeTrait for NodeDefs {
}
}
-/***** NodeSwitch **** * * * * **/
+/***** NodeSwitch **** * * * * * * * * * * **/
struct NodeSwitch();
@@ -109,7 +109,7 @@ impl NodeTrait for NodeSwitch {
}
}
-/***** NodeSvg **** * * * * **/
+/***** NodeSvg **** * * * * * * * * * * **/
struct NodeSvg {
preserve_aspect_ratio: Cell<AspectRatio>,
@@ -217,7 +217,7 @@ impl NodeTrait for NodeSvg {
}
}
-/***** NodeUse **** * * * * **/
+/***** NodeUse **** * * * * * * * * * * **/
struct NodeUse {
link: RefCell<Option<String>>,
@@ -351,7 +351,7 @@ impl NodeTrait for NodeUse {
}
}
-/***** NodeSymbol **** * * * * **/
+/***** NodeSymbol **** * * * * * * * * * * **/
struct NodeSymbol {
preserve_aspect_ratio: Cell<AspectRatio>,
@@ -391,7 +391,7 @@ impl NodeTrait for NodeSymbol {
}
}
-/***** C Prototypes **** * * * * **/
+/***** C Prototypes **** * * * * * * * * * * **/
#[no_mangle]
pub extern "C" fn rsvg_node_group_new(_: *const libc::c_char,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]