From 249a07f2024405ae263944881af91c9942226689 Mon Sep 17 00:00:00 2001 From: Robin KAY Date: Sun, 3 Mar 2024 00:43:16 +0000 Subject: [PATCH] Fix clippy lint. --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 80d2189..74a68c5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -309,7 +309,7 @@ impl Plugin for OutlinePlugin { // Run after main 3D pass, but before UI psss draw_3d_graph.add_node_edge(Node3d::EndMainPass, NodeOutline::OutlinePass); - if let Ok(_) = draw_3d_graph.get_node_state(Node3d::Taa) { + if draw_3d_graph.get_node_state(Node3d::Taa).is_ok() { draw_3d_graph.add_node_edge(Node3d::Taa, NodeOutline::OutlinePass); } #[cfg(feature = "bevy_ui")]