From ca2cc42800b7888c6c49999f6b7a1311a597ca69 Mon Sep 17 00:00:00 2001 From: Marshall Bowers Date: Wed, 8 Nov 2023 13:30:20 -0500 Subject: [PATCH] Remove unused `SceneBuilder` constructor --- crates/gpui2/src/scene.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/crates/gpui2/src/scene.rs b/crates/gpui2/src/scene.rs index 918c3c8351..87e89adfa0 100644 --- a/crates/gpui2/src/scene.rs +++ b/crates/gpui2/src/scene.rs @@ -43,10 +43,6 @@ impl Default for SceneBuilder { } impl SceneBuilder { - pub fn new() -> SceneBuilder { - SceneBuilder::default() - } - pub fn build(&mut self) -> Scene { // Map each layer id to a float between 0. and 1., with 1. closer to the viewer. let mut layer_z_values = vec![0.; self.layers_by_order.len()];