@@ -321,7 +321,7 @@ fn import_tgz_series(stack: Stack, matches: &clap::ArgMatches, source_path: &Pat
321321 let temp_dir = tempfile:: tempdir ( ) ?;
322322 archive. unpack ( temp_dir. path ( ) ) ?;
323323 let series_path = find_series_path ( temp_dir. path ( ) ) ?;
324- return import_series ( stack, matches, Some ( series_path. as_path ( ) ) ) ;
324+ import_series ( stack, matches, Some ( series_path. as_path ( ) ) )
325325}
326326
327327fn import_tbz2_series ( stack : Stack , matches : & clap:: ArgMatches , source_path : & Path ) -> Result < ( ) > {
@@ -330,7 +330,7 @@ fn import_tbz2_series(stack: Stack, matches: &clap::ArgMatches, source_path: &Pa
330330 let temp_dir = tempfile:: tempdir ( ) ?;
331331 archive. unpack ( temp_dir. path ( ) ) ?;
332332 let series_path = find_series_path ( temp_dir. path ( ) ) ?;
333- return import_series ( stack, matches, Some ( series_path. as_path ( ) ) ) ;
333+ import_series ( stack, matches, Some ( series_path. as_path ( ) ) )
334334}
335335
336336fn import_tar_series ( stack : Stack , matches : & clap:: ArgMatches , source_path : & Path ) -> Result < ( ) > {
@@ -339,7 +339,7 @@ fn import_tar_series(stack: Stack, matches: &clap::ArgMatches, source_path: &Pat
339339 let temp_dir = tempfile:: tempdir ( ) ?;
340340 archive. unpack ( temp_dir. path ( ) ) ?;
341341 let series_path = find_series_path ( temp_dir. path ( ) ) ?;
342- return import_series ( stack, matches, Some ( series_path. as_path ( ) ) ) ;
342+ import_series ( stack, matches, Some ( series_path. as_path ( ) ) )
343343}
344344
345345fn import_series (
0 commit comments