summaryrefslogtreecommitdiffstats
path: root/src/util.rs
diff options
context:
space:
mode:
authorIshitaTakeshi <ishitah.takeshi@gmail.com>2024-05-15 18:02:22 +0900
committerTavian Barnes <tavianator@tavianator.com>2025-02-18 10:34:38 -0500
commitb4c25f17cd8d75f05123928e47f44dd56275749f (patch)
treef39e279a0d412dd0ce372ed865d33d423732c9bc /src/util.rs
parent17f118fbc74a26f55a5263e616faeb20368de9d0 (diff)
downloadacap-b4c25f17cd8d75f05123928e47f44dd56275749f.tar.xz
Make this crate work with no-std
Diffstat (limited to 'src/util.rs')
-rw-r--r--src/util.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.rs b/src/util.rs
index 6a969de..662fbc0 100644
--- a/src/util.rs
+++ b/src/util.rs
@@ -1,6 +1,6 @@
//! Internal utilities.
-use std::cmp::Ordering;
+use core::cmp::Ordering;
/// A wrapper that converts a partial ordering into a total one by panicking.
#[derive(Clone, Copy, Debug, PartialOrd)]