cargo fmt

This commit is contained in:
Heikki Linnakangas
2021-06-25 11:47:41 +03:00
parent 226204094a
commit 183a3022a5
2 changed files with 2 additions and 4 deletions

View File

@@ -870,7 +870,6 @@ impl<'a> ObjectHistory<'a> {
fn next_result(&mut self) -> Result<Option<RelationUpdate>> {
while let Some((object_tag, lsn, value)) = self.iter.next().transpose()? {
let (rel_tag, update) = match object_tag {
ObjectTag::TimelineMetadataTag => continue,
ObjectTag::RelationMetadata(rel_tag) => {
@@ -879,7 +878,7 @@ impl<'a> ObjectHistory<'a> {
Some(relation_update) => (rel_tag, relation_update),
None => continue,
}
},
}
ObjectTag::RelationBuffer(buf_tag) => {
let entry = PageEntry::des(&value)?;
let update = self.handle_page(buf_tag, entry);

View File

@@ -168,8 +168,7 @@ impl ObjectStore for RocksObjectStore {
{
break;
}
if key.lsn < lsn
{
if key.lsn < lsn {
// visible in this snapshot
rels.insert(rel_tag);
}