Skip to content

Commit eec4c58

Browse files
committed
don't actually need annotation
1 parent 38035c9 commit eec4c58

File tree

1 file changed

+1
-2
lines changed
  • kernel/examples/read-table-multi-threaded/src

1 file changed

+1
-2
lines changed

kernel/examples/read-table-multi-threaded/src/main.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ fn try_main() -> DeltaResult<()> {
175175
let (mut scan_file_tx, scan_file_rx) = spmc::channel();
176176

177177
// fire up each thread. they will be automatically joined at the end due to the scope
178-
thread::scope(|s| -> DeltaResult<()> {
178+
thread::scope(|s| {
179179
(0..cli.thread_count).for_each(|_| {
180180
// items that we need to send to the other thread
181181
let scan_state = Arc::new(ScanState {
@@ -223,7 +223,6 @@ fn try_main() -> DeltaResult<()> {
223223
// simply gather up all batches
224224
record_batch_rx.iter().collect()
225225
};
226-
227226
print_batches(&batches)?;
228227
Ok(())
229228
})

0 commit comments

Comments
 (0)