From 9930c9d1de1376187b1f8334243431c3972793ad Mon Sep 17 00:00:00 2001 From: Raph Levien Date: Wed, 13 Jul 2022 12:35:21 -0700 Subject: [PATCH] rustfmt --- piet-gpu/src/lib.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/piet-gpu/src/lib.rs b/piet-gpu/src/lib.rs index 210e412..96a57e9 100644 --- a/piet-gpu/src/lib.rs +++ b/piet-gpu/src/lib.rs @@ -462,10 +462,7 @@ impl Renderer { } // Note: configuration has to be re-uploaded when memory buffer is resized - pub(crate) unsafe fn upload_config( - &mut self, - buf_ix: usize, - ) -> Result<(), Error> { + pub(crate) unsafe fn upload_config(&mut self, buf_ix: usize) -> Result<(), Error> { let stats = &self.scene_stats; let n_path = stats.n_path as usize; self.n_paths = n_path;