Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions parley/src/layout/data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ use alloc::vec::Vec;

use crate::analysis::cluster::Whitespace;
use crate::analysis::{Boundary, CharInfo};
#[cfg(feature = "libm")]
#[allow(unused_imports)]
use core_maths::CoreFloat;

#[derive(Copy, Clone, Debug, PartialEq)]
pub(crate) struct ClusterData {
Expand Down
4 changes: 0 additions & 4 deletions parley/src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@

//! Misc helpers.

#[cfg(feature = "libm")]
#[allow(unused_imports)]
use core_maths::CoreFloat;

pub(crate) fn nearly_eq(x: f32, y: f32) -> bool {
(x - y).abs() < f32::EPSILON
}
Expand Down