Skip to content

Commit 260de52

Browse files
committed
style(ftindex): apply rustfmt
1 parent 81ded62 commit 260de52

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

crates/paimon/src/ftindex/reader.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,9 @@ mod tests {
130130
(2, "echo foxtrot"),
131131
]);
132132
let input = archive_input(bytes).await;
133-
let reader = FullTextArchiveReader::from_input_file(&input).await.unwrap();
133+
let reader = FullTextArchiveReader::from_input_file(&input)
134+
.await
135+
.unwrap();
134136

135137
let hits = reader.search(r#"{"match":{"query":"bravo"}}"#, 10).unwrap();
136138
let mut ids = hits.row_ids.clone();
@@ -147,7 +149,9 @@ mod tests {
147149
(2, "shared token here"),
148150
]);
149151
let input = archive_input(bytes).await;
150-
let reader = FullTextArchiveReader::from_input_file(&input).await.unwrap();
152+
let reader = FullTextArchiveReader::from_input_file(&input)
153+
.await
154+
.unwrap();
151155

152156
// All three match, but restrict to row-ids {0, 2}.
153157
let mut include = roaring::RoaringTreemap::new();

0 commit comments

Comments
 (0)