Skip to content

Commit dbb5a09

Browse files
committed
I love tidy so much
/s
1 parent 378f385 commit dbb5a09

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/mir-opt/pre-codegen/slice_index.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ pub unsafe fn slice_get_unchecked_mut_range(slice: &mut [u32], index: Range<usiz
2828
}
2929

3030
// EMIT_MIR slice_index.slice_ptr_get_unchecked_range.PreCodegen.after.mir
31-
pub unsafe fn slice_ptr_get_unchecked_range(slice: *const [u32], index: Range<usize>) -> *const [u32] {
31+
pub unsafe fn slice_ptr_get_unchecked_range(
32+
slice: *const [u32],
33+
index: Range<usize>,
34+
) -> *const [u32] {
3235
slice.get_unchecked(index)
3336
}

0 commit comments

Comments
 (0)