File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -400,7 +400,7 @@ impl SourceMap {
400400 sources : value
401401 . get_array ( "sources" )
402402 . map ( |v| {
403- v. into_iter ( )
403+ v. iter ( )
404404 . map ( |s| s. as_str ( ) . map ( |s| s. to_string ( ) ) . unwrap_or_default ( ) )
405405 . collect :: < Vec < _ > > ( )
406406 . into ( )
@@ -409,7 +409,7 @@ impl SourceMap {
409409 sources_content : value
410410 . get_array ( "sourcesContent" )
411411 . map ( |v| {
412- v. into_iter ( )
412+ v. iter ( )
413413 . map ( |s| s. as_str ( ) . map ( |s| s. to_string ( ) ) . unwrap_or_default ( ) )
414414 . collect :: < Vec < _ > > ( )
415415 . into ( )
@@ -418,7 +418,7 @@ impl SourceMap {
418418 names : value
419419 . get_array ( "names" )
420420 . map ( |v| {
421- v. into_iter ( )
421+ v. iter ( )
422422 . map ( |s| s. as_str ( ) . map ( |s| s. to_string ( ) ) . unwrap_or_default ( ) )
423423 . collect :: < Vec < _ > > ( )
424424 . into ( )
@@ -430,7 +430,7 @@ impl SourceMap {
430430 . map ( |v| Arc :: from ( v. to_string ( ) ) ) ,
431431 debug_id : value. get_str ( "debugId" ) . map ( |v| Arc :: from ( v. to_string ( ) ) ) ,
432432 ignore_list : value. get_array ( "ignoreList" ) . map ( |v| {
433- v. into_iter ( )
433+ v. iter ( )
434434 . map ( |n| n. as_u32 ( ) . unwrap_or_default ( ) )
435435 . collect :: < Vec < _ > > ( )
436436 } ) ,
You can’t perform that action at this time.
0 commit comments