Fmt taffy_stylo
Delta semántico
Ninguna definición cambió: el cambio es de texto, documentación o datos.
4 archivos · +7 −7
- taffy_stylo/src/arc.rs +1 −1
- taffy_stylo/src/borrowed.rs +1 −1
- taffy_stylo/src/lib.rs +4 −4
- taffy_stylo/src/t2s.rs +1 −1
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
+// }