diff options
author | Daniel Schadt <kingdread@gmx.de> | 2019-12-08 12:23:51 +0100 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2019-12-08 12:23:51 +0100 |
commit | db56b785e8d21bd94bf4fbc914c2ff45769972a7 (patch) | |
tree | 00c02bc9a3b434cafc30e239d9b454361f043943 /src | |
parent | 3f24517793c59a61dbbb1513124eb177201c15ba (diff) | |
download | kondou-db56b785e8d21bd94bf4fbc914c2ff45769972a7.tar.gz kondou-db56b785e8d21bd94bf4fbc914c2ff45769972a7.tar.bz2 kondou-db56b785e8d21bd94bf4fbc914c2ff45769972a7.zip |
formatting
Diffstat (limited to 'src')
-rw-r--r-- | src/render.rs | 5 |
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()) { |