pub(crate) fn disable_panic_print() -> Box<dyn for<'r, 's> Fn(&'r PanicInfo<'s>) + Send + Sync> {
    let standard_hook = panic::take_hook();
    panic::set_hook(Box::new(|_| {}));

    standard_hook
}
/// Disables the printing of panics in this program, returns the previously used panic hook
Disables the printing of panics in this program, returns the previously used panic hook
Disables the printing of panics in this program returns the previously used panic hook
pub(crate) fn disable_panic_print() -> Box<dyn for<'r, 's> Fn(&'r PanicInfo<'s>) + Send + Sync> {
    let standard_hook = panic::take_hook();
    panic::set_hook(Box::new(|_| {}));
    standard_hook
}
pub ( crate ) fn disable_panic_print ( ) -> Box < dyn for < ' r , ' s > Fn ( & ' r PanicInfo < ' s > ) + Send + Sync > { let standard_hook = panic :: take_hook ( ) ; panic :: set_hook ( Box :: new ( | _ | { } ) ) ; standard_hook }
Disables the printing of panics in this program, returns the previously used panic hook
Disables the printing of panics in this program returns the previously used panic hook