Make clippy happy

This commit is contained in:
Konstantin Knizhnik
2023-04-27 16:27:24 +03:00
parent 9b095034bc
commit fa7e975787
2 changed files with 8 additions and 7 deletions

View File

@@ -55,8 +55,8 @@ use anyhow::Result;
use std::collections::VecDeque;
use std::ops::Range;
use std::sync::Arc;
use utils::lsn::Lsn;
use tracing::*;
use utils::lsn::Lsn;
use historic_layer_coverage::BufferedHistoricLayerCoverage;
pub use historic_layer_coverage::Replacement;
@@ -282,12 +282,12 @@ where
layer.short_id()
);
} else {
self.historic.insert(key, Arc::clone(&layer));
self.historic.insert(key, Arc::clone(&layer));
if Self::is_l0(&layer) {
self.l0_delta_layers.push(layer);
}
}
if Self::is_l0(&layer) {
self.l0_delta_layers.push(layer);
}
}
Ok(())
}

View File

@@ -1,5 +1,6 @@
import pytest
import time
import pytest
from fixtures.neon_fixtures import NeonEnvBuilder, PgBin