File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
crates/rspack_binding_values/src/options Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ impl From<LibraryCustomUmdObject> for JsLibraryCustomUmdObject {
3232 Self {
3333 amd : value. amd ,
3434 commonjs : value. commonjs ,
35- root : value. root . map ( |v| Either :: A ( v ) ) ,
35+ root : value. root . map ( Either :: A ) ,
3636 }
3737 }
3838}
@@ -183,7 +183,7 @@ impl From<LibraryOptions> for JsLibraryOptions {
183183 LibraryName :: NonUmdObject ( LibraryNonUmdObject :: Array ( names) ) => Either3 :: B ( names) ,
184184 LibraryName :: UmdObject ( umd_object) => Either3 :: C ( umd_object. into ( ) ) ,
185185 } ) ,
186- export : value. export . map ( |v| Either :: A ( v ) ) ,
186+ export : value. export . map ( Either :: A ) ,
187187 r#type : value. library_type ,
188188 umd_named_define : value. umd_named_define ,
189189 auxiliary_comment : value
You can’t perform that action at this time.
0 commit comments