Format src/termdict/mod.rs with nightly rustfmt

This commit is contained in:
Pascal Seitz authored and PSeitz committed 2026-11-24 16:31:36 +01:00
1 parent 9491fc670b
commit 0390f89fb8
1 file changed
+4 -3
+4 -3
View File
@@ -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(