Skip to content

Commit

Permalink
Fix clippy issue
Browse files Browse the repository at this point in the history
  • Loading branch information
cwfitzgerald committed Oct 9, 2021
1 parent 925139e commit a7d4bd6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions examples/scene-viewer/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,8 @@ fn main() {
let renderer_clone = Arc::clone(&renderer);
let _loaded_gltf = std::thread::spawn(move || {
profiling::register_thread!("asset loading");
match load_skybox(&renderer_clone, &routine_clone) {
Err(e) => println!("Failed to load skybox {}", e),
_ => {}
if let Err(e) = load_skybox(&renderer_clone, &routine_clone) {
println!("Failed to load skybox {}", e)
};
load_gltf(
&renderer_clone,
Expand Down

0 comments on commit a7d4bd6

Please sign in to comment.