m86: update modules/paragraph/text_style.rs
@@ -103,7 +103,7 @@ impl Handle<sb::skia_textlayout_FontFeature> {
}
}
-#[derive(Clone, Debug)]
+#[derive(Clone, Debug, Default)]
pub struct PlaceholderStyle {
pub width: scalar,
pub height: scalar,
@@ -124,18 +124,6 @@ impl PartialEq for PlaceholderStyle {
}
}
-impl Default for PlaceholderStyle {
- fn default() -> Self {
- Self::new(
- 0.0,
- 0.0,
- PlaceholderAlignment::Baseline,
- TextBaseline::Alphabetic,
- 0.0,
- )
- }
-}
-
impl PlaceholderStyle {
pub fn new(
width: scalar,
