chore: cargo clippy

This commit is contained in:
Zack Fu Zi Xiang 2024-02-09 12:49:29 +08:00
parent 8b271eedd5
commit 0b08ab34ea
No known key found for this signature in database
GPG Key ID: 39DE600AFEEED522
3 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@ where
}
#[instrument(level = "debug", skip_all, err)]
#[allow(clippy::blocks_in_conditions)]
#[allow(clippy::blocks_in_if_conditions)]
async fn check_collab_permission(
&self,
oid: &str,

View File

@ -178,7 +178,7 @@ where
}
#[instrument(level = "trace", skip(self, params), oid = %params.oid, err)]
#[allow(clippy::blocks_in_conditions)]
#[allow(clippy::blocks_in_if_conditions)]
async fn upsert_collab_with_transaction(
&self,
workspace_id: &str,

View File

@ -201,7 +201,7 @@ where
}
#[instrument(level = "trace", skip_all, err)]
#[allow(clippy::blocks_in_conditions)]
#[allow(clippy::blocks_in_if_conditions)]
async fn check_workspace_permission(
&self,
workspace_id: &Uuid,