tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 788HTML 740Markdown 12TOML 62536 Sutichaykuna

Fmt taffy_stylo

5c407ba1f3339c161ca00ac3d311958f56226c64 · ruwaq Nico Burns · (2 wata ñawpaq) · tayta 495c673d0 · kay commitpi sach'ata qhaway

Semántico sayk'uy

Mana ima sutichaypas t'ikrakurqanchu: qillqalla, yachachiylla utaq willaylla t'ikrakurqan.

4 qillqakuna · +7 −7

diff --git a/taffy_stylo/src/arc.rs b/taffy_stylo/src/arc.rs
index e27b51b35..4e0bf05f3 100644
--- a/taffy_stylo/src/arc.rs
+++ b/taffy_stylo/src/arc.rs
@@ -1,5 +1,5 @@
+use crate::{stylo, t2s};
 use servo_arc::Arc;
-use crate::{t2s, stylo};
 
 pub struct TaffyStyloStyle(pub Arc<stylo::ComputedValues>);
 
diff --git a/taffy_stylo/src/borrowed.rs b/taffy_stylo/src/borrowed.rs
index 3bf2ce182..1f057726f 100644
--- a/taffy_stylo/src/borrowed.rs
+++ b/taffy_stylo/src/borrowed.rs
@@ -1,4 +1,4 @@
-use crate::{t2s, stylo};
+use crate::{stylo, t2s};
 
 pub struct TaffyStyloStyleRef<'a>(pub &'a stylo::ComputedValues);
 
diff --git a/taffy_stylo/src/lib.rs b/taffy_stylo/src/lib.rs
index 3336452fc..bffb2786f 100644
--- a/taffy_stylo/src/lib.rs
+++ b/taffy_stylo/src/lib.rs
@@ -1,8 +1,8 @@
 //! Conversion functions from Stylo types to Taffy types
 
-pub (crate) mod t2s;
-pub (crate) mod arc;
-pub (crate) mod borrowed;
+pub(crate) mod arc;
+pub(crate) mod borrowed;
+pub(crate) mod t2s;
 
 // Module of type aliases so we can refer to stylo types with nicer names
 mod stylo {
@@ -38,4 +38,4 @@ mod stylo {
 }
 
 pub use arc::TaffyStyloStyle;
-pub use borrowed::TaffyStyloStyleRef;
\ No newline at end of file
+pub use borrowed::TaffyStyloStyleRef;
diff --git a/taffy_stylo/src/t2s.rs b/taffy_stylo/src/t2s.rs
index 7db021a61..d8e486fdf 100644
--- a/taffy_stylo/src/t2s.rs
+++ b/taffy_stylo/src/t2s.rs
@@ -199,4 +199,4 @@ pub(crate) fn align_self(input: stylo::AlignSelf) -> Option<taffy::AlignSelf> {
 //         stylo::JustifySelf::Center => Some(taffy::JustifySelf::Center),
 //         stylo::JustifySelf::Baseline => Some(taffy::JustifySelf::Baseline),
 //     }
-// }
\ No newline at end of file
+// }