From cca6a2bbef228084e8f56f92d840fae48309a602 Mon Sep 17 00:00:00 2001 From: Rob Parrett Date: Wed, 11 Dec 2024 21:14:37 -0800 Subject: [PATCH] Remove duplicated instruction line in `lighting` example (#16767) # Objective There are two of the same instruction in this example's instruction text. ## Solution Delete one ## Testing `cargo run --example lighting` --- examples/3d/lighting.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/3d/lighting.rs b/examples/3d/lighting.rs index 0f862b2aa6925..d256897c8bfa3 100644 --- a/examples/3d/lighting.rs +++ b/examples/3d/lighting.rs @@ -236,7 +236,6 @@ fn setup( p.spawn(TextSpan::new("---------------\n")); p.spawn(TextSpan::new("Arrow keys - Move objects\n")); p.spawn(TextSpan::new("1/2 - Decrease/Increase aperture\n")); - p.spawn(TextSpan::new("Arrow keys - Move objects\n")); p.spawn(TextSpan::new("3/4 - Decrease/Increase shutter speed\n")); p.spawn(TextSpan::new("5/6 - Decrease/Increase sensitivity\n")); p.spawn(TextSpan::new("R - Reset exposure"));