From 20e08f74eecc13e2157ac8a9d82f6df69b37b7f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hilmar=20G=C3=BAstafsson?= Date: Fri, 17 Jul 2020 09:59:15 +0200 Subject: [PATCH] cargo fmt --- src/widgets/launcher.rs | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/widgets/launcher.rs b/src/widgets/launcher.rs index 548839e..fc904d0 100644 --- a/src/widgets/launcher.rs +++ b/src/widgets/launcher.rs @@ -75,10 +75,13 @@ impl<'a> Launcher<'a> { Color::new(1.0, 1.0, 1.0, 1.0) }; - let dim = self - .font - .borrow_mut() - .auto_draw_text_with_cursor(buf, bg, &c, &self.input, self.cursor)?; + let dim = self.font.borrow_mut().auto_draw_text_with_cursor( + buf, + bg, + &c, + &self.input, + self.cursor, + )?; dim.0 + self.font_size / 4 } else {