about summary refs log tree commit diff stats
path: root/yt/src/storage/migrate/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'yt/src/storage/migrate/mod.rs')
-rw-r--r--yt/src/storage/migrate/mod.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/yt/src/storage/migrate/mod.rs b/yt/src/storage/migrate/mod.rs
index badeb6f..9622abe 100644
--- a/yt/src/storage/migrate/mod.rs
+++ b/yt/src/storage/migrate/mod.rs
@@ -130,9 +130,7 @@ impl DbVersion {
                             .await
                             .context("Failed to set new version")?;
 
-                        tx.commit()
-                            .await
-                            .context("Failed to commit changes")?;
+                        tx.commit().await.context("Failed to commit changes")?;
 
                         // NOTE: This is needed, so that sqlite "sees" our changes to the table
                         // without having to reconnect. <2025-02-18>