diff options
Diffstat (limited to 'rust/src/bin/fatcat-export.rs')
-rw-r--r-- | rust/src/bin/fatcat-export.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/rust/src/bin/fatcat-export.rs b/rust/src/bin/fatcat-export.rs index 8b7c4442..ec66ed4c 100644 --- a/rust/src/bin/fatcat-export.rs +++ b/rust/src/bin/fatcat-export.rs @@ -207,12 +207,12 @@ pub fn do_export( ExportEntityType::File => { thread::spawn(move || loop_work_file(row_receiver, output_sender, &db_conn, expand)) } - ExportEntityType::Fileset => { - thread::spawn(move || loop_work_fileset(row_receiver, output_sender, &db_conn, expand)) - } - ExportEntityType::Webcapture=> { - thread::spawn(move || loop_work_webcapture(row_receiver, output_sender, &db_conn, expand)) - } + ExportEntityType::Fileset => thread::spawn(move || { + loop_work_fileset(row_receiver, output_sender, &db_conn, expand) + }), + ExportEntityType::Webcapture => thread::spawn(move || { + loop_work_webcapture(row_receiver, output_sender, &db_conn, expand) + }), ExportEntityType::Release => thread::spawn(move || { loop_work_release(row_receiver, output_sender, &db_conn, expand) }), |