From 52512f238d179b71dbcb1830790bd8c623bf0225 Mon Sep 17 00:00:00 2001 From: Vladimir Borisov Date: Tue, 27 Jul 2021 15:08:25 +0300 Subject: [PATCH] Format document --- src/stremio_app/splash.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stremio_app/splash.rs b/src/stremio_app/splash.rs index 6f22d9b..39f547f 100644 --- a/src/stremio_app/splash.rs +++ b/src/stremio_app/splash.rs @@ -16,7 +16,7 @@ pub struct SplashImage { impl SplashImage { const BG_COLOR: [u8; 3] = [27, 17, 38]; - pub fn resize(&self, size:(u32, u32)) { + pub fn resize(&self, size: (u32, u32)) { let (w, h) = size; let s = cmp::min(w, h); self.splash_frame.set_size(w, h); @@ -29,4 +29,4 @@ impl SplashImage { pub fn hide(&self) { self.splash_frame.set_visible(false); } -} \ No newline at end of file +}