Skip to content

Commit

Permalink
remove clippy allows
Browse files Browse the repository at this point in the history
  • Loading branch information
pubrrr committed Mar 20, 2022
1 parent c624b88 commit db78199
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions crates/bevy_ui/src/focus.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ pub type NodeQuery<'a> = (
Option<&'a CalculatedClip>,
);

/// The system that sets Interaction for all UI elements based on the mouse cursor activity
#[allow(clippy::type_complexity)]
/// The system that sets Interaction for all UI elements based on the mouse and touch cursor
/// activity
pub fn ui_focus_system(
state: Local<State>,
windows: Res<Windows>,
Expand All @@ -83,7 +83,6 @@ pub fn ui_focus_system(
)
}

#[allow(clippy::type_complexity)]
fn focus_ui<Cursor: CursorResource>(
mut state: Local<State>,
windows: Res<Cursor>,
Expand Down

0 comments on commit db78199

Please sign in to comment.