File tree Expand file tree Collapse file tree 1 file changed +15
-4
lines changed
Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -464,8 +464,12 @@ mod arguments {
464464 let input_file = & self . input_file ;
465465 let output_file = & self . output_file ;
466466
467- let input_dir = input_file. parent ( ) . expect ( "expected an input path ending in a filename" ) ;
468- let output_dir = output_file. parent ( ) . expect ( "expected an output path ending in a filename" ) ;
467+ let input_dir = input_file
468+ . parent ( )
469+ . expect ( "expected an input path ending in a filename" ) ;
470+ let output_dir = output_file
471+ . parent ( )
472+ . expect ( "expected an output path ending in a filename" ) ;
469473
470474 let input_pattern = input_file. file_name ( ) . unwrap ( ) . to_string_lossy ( ) ;
471475 let output_pattern = output_file. file_name ( ) . unwrap ( ) . to_string_lossy ( ) ;
@@ -478,8 +482,15 @@ mod arguments {
478482 format ! ( r"{}(\d+){}" , escape( input_prefix) , escape( input_suffix) ) ;
479483 let input_re = Regex :: new ( & input_re_str) . expect ( "expected a valid regex" ) ;
480484
481- let input_root = if input_dir == Path :: new ( "" ) { Path :: new ( "." ) } else { input_dir } ;
482- info ! ( "Looking for input sequence files in root \" {}\" " , input_root. display( ) ) ;
485+ let input_root = if input_dir == Path :: new ( "" ) {
486+ Path :: new ( "." )
487+ } else {
488+ input_dir
489+ } ;
490+ info ! (
491+ "Looking for input sequence files in root \" {}\" " ,
492+ input_root. display( )
493+ ) ;
483494
484495 let mut paths = Vec :: new ( ) ;
485496
You can’t perform that action at this time.
0 commit comments