From 955175c791f1480dd0295e9232d173cc7794fabf Mon Sep 17 00:00:00 2001 From: Konstantin Knizhnik Date: Fri, 28 Feb 2025 18:29:37 +0200 Subject: [PATCH] Make clippy happy --- pageserver/src/basebackup.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pageserver/src/basebackup.rs b/pageserver/src/basebackup.rs index 3c4d1eec11..cd34697895 100644 --- a/pageserver/src/basebackup.rs +++ b/pageserver/src/basebackup.rs @@ -73,6 +73,7 @@ impl From for BasebackupError { /// * When working without safekeepers. In this situation it is important to match the lsn /// we are taking basebackup on with the lsn that is used in pageserver's walreceiver /// to start the replication. +#[allow(clippy::too_many_arguments)] pub async fn send_basebackup_tarball<'a, W>( write: &'a mut W, timeline: &'a Timeline, @@ -283,7 +284,6 @@ impl Basebackup<'_, W> where W: AsyncWrite + Send + Sync + Unpin, { - #[allow(clippy::too_many_arguments)] async fn send_tarball(mut self) -> Result<(), BasebackupError> { // TODO include checksum