From 8158e778590d5795b7b5296d8168778399c4a0e8 Mon Sep 17 00:00:00 2001 From: Raph Levien Date: Thu, 18 May 2023 11:18:22 -0700 Subject: [PATCH] Rustfmt I should set up git pre-push hooks. Also, I am surprised this needed a fmt, and would not add all the extra vertical space if it were up to me, but the reason we use default rustfmt is to avoid spending mental energy on such details. --- examples/headless/src/main.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/headless/src/main.rs b/examples/headless/src/main.rs index ac40765..43d33aa 100644 --- a/examples/headless/src/main.rs +++ b/examples/headless/src/main.rs @@ -106,7 +106,9 @@ async fn render(mut scenes: SceneSet, index: usize, args: &Args) -> Result<()> { interactive: false, complexity: 0, }; - example_scene.function.render(&mut builder, &mut scene_params); + example_scene + .function + .render(&mut builder, &mut scene_params); let mut transform = Affine::IDENTITY; let (width, height) = if let Some(resolution) = scene_params.resolution { let ratio = resolution.x / resolution.y;