From 6d9bab59919352bbdd5dd354c89c95d78a8f04a2 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 26 Dec 2018 22:50:38 -0800 Subject: rust impl last webcapture schema tweaks --- rust/src/bin/fatcat-export.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'rust/src/bin') 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) }), -- cgit v1.2.3