Skip to content

Commit 2e7fa1f

Browse files
committed
fix lint issue
1 parent df1ed31 commit 2e7fa1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

swiftide-pgvector/src/persist.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ impl Persist for PgVector {
1616
let mut tx = pool.begin().await?;
1717

1818
// create extension
19-
let sql = format!("CREATE EXTENSION IF NOT EXISTS vector");
20-
sqlx::query(&sql).execute(&mut *tx).await?;
19+
let sql = "CREATE EXTENSION IF NOT EXISTS vector";
20+
sqlx::query(sql).execute(&mut *tx).await?;
2121

2222
// create table
2323
let sql = format!(

0 commit comments

Comments
 (0)