From d98e004454ee55166efc303bc0f57ded9239c8c4 Mon Sep 17 00:00:00 2001 From: dbr Date: Thu, 25 Feb 2021 21:03:52 +1100 Subject: [PATCH] cargo fmt --- imgui/src/draw_list.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/imgui/src/draw_list.rs b/imgui/src/draw_list.rs index f462f3d..c5b6aa2 100644 --- a/imgui/src/draw_list.rs +++ b/imgui/src/draw_list.rs @@ -324,12 +324,7 @@ impl<'ui> DrawListMut<'ui> { /// .build(); /// } /// ``` - pub fn add_image( - &'ui self, - texture_id: TextureId, - p_min: [f32; 2], - p_max: [f32; 2], - ) -> Image { + pub fn add_image(&'ui self, texture_id: TextureId, p_min: [f32; 2], p_max: [f32; 2]) -> Image { Image::new(self, texture_id, p_min, p_max) }