style: run clippy fix and fmt (#9965)

This commit is contained in:
Brooooooklyn
2025-02-05 13:48:17 +00:00
parent db1fcf42c9
commit 58aa18afa6
11 changed files with 54 additions and 27 deletions

View File

@@ -60,7 +60,8 @@ impl SqliteDocStorage {
pub async fn list_blobs(&self) -> Result<Vec<ListedBlob>> {
let result = sqlx::query_as!(
ListedBlob,
"SELECT key, size, mime, created_at FROM blobs WHERE deleted_at IS NULL ORDER BY created_at DESC;"
"SELECT key, size, mime, created_at FROM blobs WHERE deleted_at IS NULL ORDER BY created_at \
DESC;"
)
.fetch_all(&self.pool)
.await?;
@@ -90,7 +91,7 @@ mod tests {
storage
.set_blob(SetBlob {
key: format!("test_{}", i),
data: vec![0, 0].into(),
data: vec![0, 0],
mime: "text/plain".to_string(),
})
.await
@@ -130,7 +131,7 @@ mod tests {
storage
.set_blob(SetBlob {
key: format!("test_{}", i),
data: vec![0, 0].into(),
data: vec![0, 0],
mime: "text/plain".to_string(),
})
.await
@@ -178,7 +179,7 @@ mod tests {
storage
.set_blob(SetBlob {
key: format!("test_{}", i),
data: vec![0, 0].into(),
data: vec![0, 0],
mime: "text/plain".to_string(),
})
.await