diff --git a/crates/bevy_gizmos/src/grid.rs b/crates/bevy_gizmos/src/grid.rs index b4afa4d47f4ee..7c7e3b5fa773b 100644 --- a/crates/bevy_gizmos/src/grid.rs +++ b/crates/bevy_gizmos/src/grid.rs @@ -360,8 +360,7 @@ fn draw_grid( skew: Vec3, outer_edges: [bool; 3], color: LinearRgba, -) -where +) where Config: GizmoConfigGroup, Clear: 'static + Send + Sync, { diff --git a/crates/bevy_gizmos/src/lib.rs b/crates/bevy_gizmos/src/lib.rs index 91372befbd33e..25d2d5602a8d0 100644 --- a/crates/bevy_gizmos/src/lib.rs +++ b/crates/bevy_gizmos/src/lib.rs @@ -275,8 +275,7 @@ struct LineGizmoHandles { pub fn start_gizmo_context( mut swap: ResMut>>, mut default: ResMut>, -) -where +) where Config: GizmoConfigGroup, Clear: 'static + Send + Sync, {