From d451e92251fe49d1530ef5d64d181b2cd1d45a11 Mon Sep 17 00:00:00 2001 From: Yosh Date: Sun, 17 Mar 2024 20:26:47 +0100 Subject: [PATCH] fix core builds --- src/utils/private.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils/private.rs b/src/utils/private.rs index 3d461eb..3dbb42e 100644 --- a/src/utils/private.rs +++ b/src/utils/private.rs @@ -1,9 +1,9 @@ /// We hide the `Try` trait in a private module, as it's only meant to be a /// stable clone of the standard library's `Try` trait, as yet unstable. // NOTE: copied from `rayon` -use std::convert::Infallible; -use std::ops::ControlFlow::{self, Break, Continue}; -use std::task::Poll; +use core::convert::Infallible; +use core::ops::ControlFlow::{self, Break, Continue}; +use core::task::Poll; use crate::{private_decl, private_impl};