Skip to content

Commit 9063280

Browse files
committed
Remove trivial cast
1 parent c396338 commit 9063280

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/slice/mergesort.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ where
716716
// All chunks are properly sorted.
717717
// Now we just have to merge them together.
718718
unsafe {
719-
recurse(v.as_mut_ptr(), buf as *mut T, &chunks, false, &is_less);
719+
recurse(v.as_mut_ptr(), buf, &chunks, false, &is_less);
720720
}
721721
}
722722

0 commit comments

Comments
 (0)