Skip to content

Commit eb197e0

Browse files
authored
Merge pull request #162 from svenstaro/clippy_lifetime_syntax
Address new clippy lint for consistency of lifetime syntax
2 parents caabf5c + edd27f1 commit eb197e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bvh/bvh_node.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ impl<S> Shapes<'_, S> {
425425
}
426426

427427
/// Creates a [`Shapes`] that inherits its lifetime from the slice.
428-
pub(crate) fn from_slice<T: BHValue, const D: usize>(slice: &mut [S]) -> Shapes<S>
428+
pub(crate) fn from_slice<T: BHValue, const D: usize>(slice: &mut [S]) -> Shapes<'_, S>
429429
where
430430
S: BHShape<T, D>,
431431
{

0 commit comments

Comments
 (0)