Skip to content
This repository was archived by the owner on Jun 7, 2025. It is now read-only.

Commit a7d4bd6

Browse files
committed
Fix clippy issue
1 parent 925139e commit a7d4bd6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

examples/scene-viewer/src/main.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,8 @@ fn main() {
183183
let renderer_clone = Arc::clone(&renderer);
184184
let _loaded_gltf = std::thread::spawn(move || {
185185
profiling::register_thread!("asset loading");
186-
match load_skybox(&renderer_clone, &routine_clone) {
187-
Err(e) => println!("Failed to load skybox {}", e),
188-
_ => {}
186+
if let Err(e) = load_skybox(&renderer_clone, &routine_clone) {
187+
println!("Failed to load skybox {}", e)
189188
};
190189
load_gltf(
191190
&renderer_clone,

0 commit comments

Comments
 (0)