Skip to content

Commit 9e9ee48

Browse files
committed
style: reorder
1 parent 0b8ce7c commit 9e9ee48

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

crates/iceberg/src/delete_file_index.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ use crate::runtime::spawn;
2929
use crate::scan::{DeleteFileContext, FileScanTaskDeleteFile};
3030
use crate::spec::{DataContentType, DataFile, Struct};
3131

32+
/// Index of delete files
33+
#[derive(Clone, Debug)]
34+
pub(crate) struct DeleteFileIndex {
35+
state: Arc<RwLock<DeleteFileIndexState>>,
36+
}
37+
3238
#[derive(Debug)]
3339
enum DeleteFileIndexState {
3440
Populating,
@@ -44,12 +50,6 @@ struct PopulatedDeleteFileIndex {
4450
pos_deletes_by_path: HashMap<String, Vec<Arc<DeleteFileContext>>>,
4551
}
4652

47-
/// Index of delete files
48-
#[derive(Clone, Debug)]
49-
pub(crate) struct DeleteFileIndex {
50-
state: Arc<RwLock<DeleteFileIndexState>>,
51-
}
52-
5353
impl DeleteFileIndex {
5454
/// create a new `DeleteFileIndex` along with the sender that populates it with delete files
5555
pub(crate) fn new() -> (DeleteFileIndex, Sender<DeleteFileContext>) {

0 commit comments

Comments
 (0)