Skip to content

Commit 2b8d1c8

Browse files
committed
Fix lint
1 parent 4e4c2d5 commit 2b8d1c8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libs/extractor/src/extractor/extract_style_from_styled.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ pub fn extract_style_from_styled<'a>(
104104
props_styles.extend(
105105
default_class_name
106106
.into_iter()
107-
.map(|style| ExtractStyleProp::Static(style)),
107+
.map(ExtractStyleProp::Static),
108108
);
109109
}
110110

@@ -165,7 +165,7 @@ pub fn extract_style_from_styled<'a>(
165165
styles.extend(
166166
default_class_name
167167
.into_iter()
168-
.map(|style| ExtractStyleProp::Static(style)),
168+
.map(ExtractStyleProp::Static),
169169
);
170170
}
171171

@@ -178,7 +178,7 @@ pub fn extract_style_from_styled<'a>(
178178
styles,
179179
tag: None,
180180
style_order,
181-
style_vars: style_vars,
181+
style_vars,
182182
props,
183183
};
184184

0 commit comments

Comments
 (0)