Skip to content

Commit 994d836

Browse files
Remove no longer needed mutability
1 parent f6832ad commit 994d836

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libpanic_unwind/seh.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ pub unsafe fn panic(data: Box<dyn Any + Send>) -> u32 {
222222
// exception (constructed above).
223223
let ptrs = mem::transmute::<_, raw::TraitObject>(data);
224224
let mut ptrs = [ptrs.data as u64, ptrs.vtable as u64];
225-
let mut ptrs_ptr = ptrs.as_mut_ptr();
225+
let ptrs_ptr = ptrs.as_mut_ptr();
226226
let throw_ptr = ptrs_ptr as *mut _;
227227

228228
// This... may seems surprising, and justifiably so. On 32-bit MSVC the

0 commit comments

Comments
 (0)