mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2026-12-04 16:21:07 +00:00
Format src/termdict/mod.rs with nightly rustfmt
This commit is contained in:
1 parent
9491fc670b
commit
0390f89fb8
1 file changed
+4
-3
+4
-3
@@ -190,9 +190,10 @@ impl TermDictionary {
|
||||
(byte_stream, first_ordinals.into_iter()),
|
||||
|(mut byte_stream, mut first_ordinals)| async move {
|
||||
match (byte_stream.try_next().await?, first_ordinals.next()) {
|
||||
(Some(bytes), Some(first_ordinal)) => {
|
||||
Ok(Some(((bytes, first_ordinal), (byte_stream, first_ordinals))))
|
||||
}
|
||||
(Some(bytes), Some(first_ordinal)) => Ok(Some((
|
||||
(bytes, first_ordinal),
|
||||
(byte_stream, first_ordinals),
|
||||
))),
|
||||
(None, None) => Ok(None),
|
||||
(None, Some(_)) => Err(io::ErrorKind::UnexpectedEof.into()),
|
||||
(Some(_), None) => Err(io::Error::new(
|
||||
|
||||
Reference in new issue
Block a user