Skip to content

Commit db78199

Browse files
committed
remove clippy allows
1 parent c624b88 commit db78199

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

crates/bevy_ui/src/focus.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ pub type NodeQuery<'a> = (
6565
Option<&'a CalculatedClip>,
6666
);
6767

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

86-
#[allow(clippy::type_complexity)]
8786
fn focus_ui<Cursor: CursorResource>(
8887
mut state: Local<State>,
8988
windows: Res<Cursor>,

0 commit comments

Comments
 (0)