indexer: moved height to iterator

This commit is contained in:
nym21
2025-02-20 11:40:26 +01:00
parent 5e39510f21
commit f0d86f2392
19 changed files with 124 additions and 87 deletions
-2
View File
@@ -13,7 +13,6 @@ pub enum Error {
DifferentVersion { found: Version, expected: Version },
MmapsVecIsTooSmall,
IO(io::Error),
// UnsafeSliceSerde(zerocopy::error::),
ZeroCopyError,
IndexTooHigh,
IndexTooLow,
@@ -51,7 +50,6 @@ impl fmt::Display for Error {
}
Error::MmapsVecIsTooSmall => write!(f, "Mmaps vec is too small"),
Error::IO(error) => Debug::fmt(&error, f),
// Error::UnsafeSliceSerde(error) => Debug::fmt(&error, f),
Error::IndexTooHigh => write!(f, "Index too high"),
Error::IndexTooLow => write!(f, "Index too low"),
Error::ExpectFileToHaveIndex => write!(f, "Expect file to have index"),