diff --git a/src/libstd/panicking.rs b/src/libstd/panicking.rs index 1f5b3437b61..04050a5edc4 100644 --- a/src/libstd/panicking.rs +++ b/src/libstd/panicking.rs @@ -153,7 +153,7 @@ pub fn take_hook() -> Box { match hook { Hook::Default => Box::new(default_hook), - Hook::Custom(ptr) => {Box::from_raw(ptr)} // FIXME #30530 + Hook::Custom(ptr) => Box::from_raw(ptr), } } }