Skip to content

Commit d091183

Browse files
committed
chore: clippy fixes
1 parent ae9940d commit d091183

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/query/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ pub use self::ray::{Ray, RayCast, RayIntersection, SimdRay};
4444
pub use self::shape_cast::{cast_shapes, ShapeCastHit, ShapeCastOptions, ShapeCastStatus};
4545
pub use self::split::{IntersectResult, SplitResult};
4646

47-
#[cfg(feature = "dim3")]
47+
#[cfg(all(feature = "dim3", feature = "alloc"))]
4848
pub use self::ray::RayCullingMode;
4949

5050
mod clip;

src/query/ray/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ pub use self::ray_composite_shape::{
99
};
1010
pub use self::ray_halfspace::{line_toi_with_halfspace, ray_toi_with_halfspace};
1111
pub use self::ray_support_map::local_ray_intersection_with_support_map_with_params;
12-
pub use self::simd_ray::SimdRay;
1312
#[cfg(feature = "dim3")]
14-
pub use {
15-
self::ray_triangle::local_ray_intersection_with_triangle, self::ray_trimesh::RayCullingMode,
16-
};
13+
pub use self::ray_triangle::local_ray_intersection_with_triangle;
14+
#[cfg(all(feature = "dim3", feature = "alloc"))]
15+
pub use self::ray_trimesh::RayCullingMode;
16+
pub use self::simd_ray::SimdRay;
1717

1818
#[doc(hidden)]
1919
pub mod ray;

src/query/ray/ray_trimesh.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ mod ray_cast_with_culling {
8484
ray: &'a Ray,
8585
}
8686

87-
impl<'a> TypedSimdCompositeShape for TriMeshWithCulling<'a> {
87+
impl TypedSimdCompositeShape for TriMeshWithCulling<'_> {
8888
type PartShape = Triangle;
8989
type PartNormalConstraints = ();
9090
type PartId = u32;

0 commit comments

Comments
 (0)