This commit is contained in:
Christian Schwarz
2024-11-29 19:29:08 +01:00
parent 209912547e
commit bf162f92d1
2 changed files with 2 additions and 2 deletions

View File

@@ -1227,7 +1227,7 @@ pub(crate) struct GlobalAndPerTimelineHistogramTimer<'c> {
op: SmgrQueryType,
}
impl<'c> Drop for GlobalAndPerTimelineHistogramTimer<'c> {
impl Drop for GlobalAndPerTimelineHistogramTimer<'_> {
fn drop(&mut self) {
let elapsed = self.start.elapsed();
let ex_throttled = self

View File

@@ -244,7 +244,7 @@ impl Timeline {
/// The ordering of the returned vec corresponds to the ordering of `pages`.
pub(crate) async fn get_rel_page_at_lsn_batched(
&self,
pages: impl Iterator<Item = (&RelTag, &BlockNumber)> + ExactSizeIterator,
pages: impl ExactSizeIterator<Item = (&RelTag, &BlockNumber)>,
effective_lsn: Lsn,
ctx: &RequestContext,
) -> Vec<Result<Bytes, PageReconstructError>> {