From 9e9ee484851657a73a33e93d2bad58c8feeed642 Mon Sep 17 00:00:00 2001 From: Scott Donnelly Date: Mon, 23 Dec 2024 11:40:57 +0000 Subject: [PATCH] style: reorder --- crates/iceberg/src/delete_file_index.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/crates/iceberg/src/delete_file_index.rs b/crates/iceberg/src/delete_file_index.rs index 3f1a092fc..53a508651 100644 --- a/crates/iceberg/src/delete_file_index.rs +++ b/crates/iceberg/src/delete_file_index.rs @@ -29,6 +29,12 @@ use crate::runtime::spawn; use crate::scan::{DeleteFileContext, FileScanTaskDeleteFile}; use crate::spec::{DataContentType, DataFile, Struct}; +/// Index of delete files +#[derive(Clone, Debug)] +pub(crate) struct DeleteFileIndex { + state: Arc>, +} + #[derive(Debug)] enum DeleteFileIndexState { Populating, @@ -44,12 +50,6 @@ struct PopulatedDeleteFileIndex { pos_deletes_by_path: HashMap>>, } -/// Index of delete files -#[derive(Clone, Debug)] -pub(crate) struct DeleteFileIndex { - state: Arc>, -} - impl DeleteFileIndex { /// create a new `DeleteFileIndex` along with the sender that populates it with delete files pub(crate) fn new() -> (DeleteFileIndex, Sender) {