gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

HTML 5544Rust 88Markdown 11TOML 91926 Definiciones

Remove core::f32 import from flexbox module

66bcb10bff823bfde7828eeef133cb2fa7de7dba · por Nico Burns · (hace 3 años) · padre 936ce7c79 · ver el árbol en este commit

Delta semántico

Ninguna definición cambió: el cambio es de texto, documentación o datos.

1 archivos · +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};