diff --git a/src/utils.rs b/src/utils.rs index 646f590..cd49959 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -27,7 +27,7 @@ impl UnwindsafeCondvar { pub const fn new() -> Self { #[cfg(any(target_os = "ios", target_os = "macos"))] { - Self(AssertUnwindSafe(Condvar::new())) + Self(std::panic::AssertUnwindSafe(Condvar::new())) } #[cfg(not(any(target_os = "ios", target_os = "macos")))]