Skip to content

Commit 9e84ddf

Browse files
Remove unused imports of core_maths::CoreFloat (#497)
With the recent bump in MSRV, these should no longer be needed. This addresses part of #446.
1 parent df75ac9 commit 9e84ddf

2 files changed

Lines changed: 0 additions & 7 deletions

File tree

parley/src/layout/data.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ use alloc::vec::Vec;
1212

1313
use crate::analysis::cluster::Whitespace;
1414
use crate::analysis::{Boundary, CharInfo};
15-
#[cfg(feature = "libm")]
16-
#[allow(unused_imports)]
17-
use core_maths::CoreFloat;
1815

1916
#[derive(Copy, Clone, Debug, PartialEq)]
2017
pub(crate) struct ClusterData {

parley/src/util.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33

44
//! Misc helpers.
55
6-
#[cfg(feature = "libm")]
7-
#[allow(unused_imports)]
8-
use core_maths::CoreFloat;
9-
106
pub(crate) fn nearly_eq(x: f32, y: f32) -> bool {
117
(x - y).abs() < f32::EPSILON
128
}

0 commit comments

Comments
 (0)