aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2019-12-08 12:23:51 +0100
committerDaniel Schadt <kingdread@gmx.de>2019-12-08 12:23:51 +0100
commitdb56b785e8d21bd94bf4fbc914c2ff45769972a7 (patch)
tree00c02bc9a3b434cafc30e239d9b454361f043943
parent3f24517793c59a61dbbb1513124eb177201c15ba (diff)
downloadkondou-db56b785e8d21bd94bf4fbc914c2ff45769972a7.tar.gz
kondou-db56b785e8d21bd94bf4fbc914c2ff45769972a7.tar.bz2
kondou-db56b785e8d21bd94bf4fbc914c2ff45769972a7.zip
formatting
-rw-r--r--src/render.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/render.rs b/src/render.rs
index 126fbea..8bb14b6 100644
--- a/src/render.rs
+++ b/src/render.rs
@@ -286,7 +286,10 @@ impl<'r> Renderer<'r> {
self.merge_parts(&images)
}
- fn construct_parts(&mut self, build: &BuildTemplate) -> Result<Vec<(Alignment, RgbaImage)>, RenderError> {
+ fn construct_parts(
+ &mut self,
+ build: &BuildTemplate,
+ ) -> Result<Vec<(Alignment, RgbaImage)>, RenderError> {
let mut images: Vec<(Alignment, RgbaImage)> = Vec::new();
for traitline in build.traitlines().iter().filter(|x| x.is_some()) {