Skip to content
Permalink
Browse files

Remove no longer needed mutability

  • Loading branch information
Mark-Simulacrum committed Nov 12, 2019
1 parent f6832ad commit 994d83666defc0cc6b0fde305d164fbf23433114
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/libpanic_unwind/seh.rs
@@ -222,7 +222,7 @@ pub unsafe fn panic(data: Box<dyn Any + Send>) -> u32 {
// exception (constructed above).
let ptrs = mem::transmute::<_, raw::TraitObject>(data);
let mut ptrs = [ptrs.data as u64, ptrs.vtable as u64];
let mut ptrs_ptr = ptrs.as_mut_ptr();
let ptrs_ptr = ptrs.as_mut_ptr();
let throw_ptr = ptrs_ptr as *mut _;

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

0 comments on commit 994d836

Please sign in to comment.
You can’t perform that action at this time.