gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 1112HTML 1039Markdown 12TOML 94628 Definitions

Remove core::f32 import from flexbox module

66bcb10bff823bfde7828eeef133cb2fa7de7dba · by Nico Burns · (3 years ago) · parent 936ce7c79 · browse the tree at this commit

Semantic delta

No definition changed: this change is text, documentation or data.

1 files · +0 −2

diff --git a/src/compute/flexbox.rs b/src/compute/flexbox.rs
index afb503c86..d92444357 100644
--- a/src/compute/flexbox.rs
+++ b/src/compute/flexbox.rs
@@ -1,6 +1,4 @@
 //! Computes the [flexbox](https://css-tricks.com/snippets/css/a-guide-to-flexbox/) layout algorithm on [`Taffy`](crate::Taffy) according to the [spec](https://www.w3.org/TR/css-flexbox-1/)
-use core::f32;
-
 use crate::compute::common::alignment::compute_alignment_offset;
 use crate::compute::LayoutAlgorithm;
 use crate::geometry::{Line, Point, Rect, Size};