[librsvg] Cargo fmt
- From: Jordan Petridis <jpetridis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg] Cargo fmt
- Date: Fri, 16 Mar 2018 17:59:55 +0000 (UTC)
commit 029db66c6113cdd459e0bb600f69f0606e69e4e6
Author: Jordan Petridis <jordanpetridis protonmail com>
Date: Fri Mar 16 19:59:06 2018 +0200
Cargo fmt
rsvg_internals/src/aspect_ratio.rs | 22 +++++++++++-----------
rsvg_internals/src/paint_server.rs | 12 ++++++------
2 files changed, 17 insertions(+), 17 deletions(-)
---
diff --git a/rsvg_internals/src/aspect_ratio.rs b/rsvg_internals/src/aspect_ratio.rs
index a51c3463..c409a6b5 100644
--- a/rsvg_internals/src/aspect_ratio.rs
+++ b/rsvg_internals/src/aspect_ratio.rs
@@ -236,7 +236,7 @@ mod tests {
Ok(AspectRatio {
defer: true,
align: None,
- })
+ },)
);
assert_eq!(
@@ -247,8 +247,8 @@ mod tests {
x: Align1D::Mid,
y: Align1D::Mid,
fit: FitMode::Meet,
- }),
- })
+ },),
+ },)
);
assert_eq!(
@@ -259,8 +259,8 @@ mod tests {
x: Align1D::Mid,
y: Align1D::Mid,
fit: FitMode::Meet,
- }),
- })
+ },),
+ },)
);
assert_eq!(
@@ -271,8 +271,8 @@ mod tests {
x: Align1D::Min,
y: Align1D::Max,
fit: FitMode::Meet,
- }),
- })
+ },),
+ },)
);
assert_eq!(
@@ -283,8 +283,8 @@ mod tests {
x: Align1D::Max,
y: Align1D::Mid,
fit: FitMode::Meet,
- }),
- })
+ },),
+ },)
);
assert_eq!(
@@ -295,8 +295,8 @@ mod tests {
x: Align1D::Min,
y: Align1D::Max,
fit: FitMode::Slice,
- }),
- })
+ },),
+ },)
);
}
diff --git a/rsvg_internals/src/paint_server.rs b/rsvg_internals/src/paint_server.rs
index 68b82165..b9805a07 100644
--- a/rsvg_internals/src/paint_server.rs
+++ b/rsvg_internals/src/paint_server.rs
@@ -319,7 +319,7 @@ mod tests {
Ok(PaintServer::Iri {
iri: "#link".to_string(),
alternate: None,
- })
+ },)
);
assert_eq!(
@@ -327,7 +327,7 @@ mod tests {
Ok(PaintServer::Iri {
iri: "#link".to_string(),
alternate: None,
- })
+ },)
);
assert_eq!(
@@ -335,7 +335,7 @@ mod tests {
Ok(PaintServer::Iri {
iri: "#link".to_string(),
alternate: Some(Color::from(0xffff8040)),
- })
+ },)
);
assert_eq!(
@@ -343,7 +343,7 @@ mod tests {
Ok(PaintServer::Iri {
iri: "#link".to_string(),
alternate: Some(Color::from(0x80ff8040)),
- })
+ },)
);
assert_eq!(
@@ -351,7 +351,7 @@ mod tests {
Ok(PaintServer::Iri {
iri: "#link".to_string(),
alternate: Some(Color::CurrentColor),
- })
+ },)
);
assert_eq!(
@@ -359,7 +359,7 @@ mod tests {
Ok(PaintServer::Iri {
iri: "#link".to_string(),
alternate: None,
- })
+ },)
);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]