Skip to content

Commit

Permalink
Fix clippy lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
komadori committed Mar 3, 2024
1 parent ff99c20 commit 249a07f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
Expand Down

0 comments on commit 249a07f

Please sign in to comment.