pub fn permit_alloc<T, F>(func: F) -> Twhere F: FnOnce() -> T,
Temporarily allow allocations within func if nice-plug was configured with the assert_process_allocs feature.
func
assert_process_allocs