mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-15 17:32:56 +00:00
clippy
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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>> {
|
||||
|
||||
Reference in New Issue
Block a user