Skip to content

Commit ecf6a5a

Browse files
committed
chore: run cargo fmt
1 parent be0c5e5 commit ecf6a5a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crates/approx-chol/src/types.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,6 @@ where
2929
/// This function provides a proper total order by placing NaN after all non-NaN.
3030
#[inline]
3131
pub(crate) fn float_total_cmp<T: Float>(a: &T, b: &T) -> Ordering {
32-
a.partial_cmp(b).unwrap_or_else(|| a.is_nan().cmp(&b.is_nan()))
32+
a.partial_cmp(b)
33+
.unwrap_or_else(|| a.is_nan().cmp(&b.is_nan()))
3334
}

0 commit comments

Comments
 (0)