Fix fallback permit_alloc() implementation
This commit is contained in:
parent
d7ea21f597
commit
af4db7be53
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ pub fn permit_alloc<T, F: FnOnce() -> T>(func: F) -> T {
|
|||
/// `assert_process_allocs` feature.
|
||||
#[cfg(not(all(debug_assertions, feature = "assert_process_allocs")))]
|
||||
pub fn permit_alloc<T, F: FnOnce() -> T>(func: F) -> T {
|
||||
func
|
||||
func()
|
||||
}
|
||||
|
||||
/// Convert decibels to a voltage gain ratio, treating anything below -100 dB as minus infinity.
|
||||
|
|
Loading…
Add table
Reference in a new issue