[][src]Function nudge::assume_nopanic

pub unsafe extern "C" fn assume_nopanic<F: FnOnce() -> T, T>(f: F) -> T

Assumes a closure will not panic.

Calls to core::panicking functions will still be generated; however, this function is nounwind and panics will cause UB.