Bladeren bron

remove empty match

Evan Almloff 3 jaren geleden
bovenliggende
commit
44686e217f
1 gewijzigde bestanden met toevoegingen van 2 en 5 verwijderingen
  1. 2 5
      packages/native-core/src/layout_attributes.rs

+ 2 - 5
packages/native-core/src/layout_attributes.rs

@@ -280,11 +280,8 @@ pub fn parse_value(value: &str) -> Option<UnitSystem> {
     }
     }
 }
 }
 
 
-fn apply_overflow(name: &str, _value: &str, _style: &mut Style) {
-    match name {
-        // todo: add overflow support to taffy
-        _ => {}
-    }
+fn apply_overflow(_name: &str, _value: &str, _style: &mut Style) {
+    // todo: add overflow support to taffy
 }
 }
 
 
 fn apply_display(_name: &str, value: &str, style: &mut Style) {
 fn apply_display(_name: &str, value: &str, style: &mut Style) {