From a46a94a3144f754bd2c99a1ab28db65746276072 Mon Sep 17 00:00:00 2001 From: le king fu Date: Mon, 12 Oct 2026 20:27:26 -0400 Subject: [PATCH] style(profiles): rewrap the sync comment of backup_to Co-Authored-By: Claude Opus 5.5 --- src-tauri/src/database/profile_db.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src-tauri/src/database/profile_db.rs b/src-tauri/src/database/profile_db.rs index ef1e8f1..0da487d 100644 --- a/src-tauri/src/database/profile_db.rs +++ b/src-tauri/src/database/profile_db.rs @@ -485,8 +485,8 @@ pub fn backup_to(conn: &Connection, dir: &Path, stem: &str, first_pending: i64) conn.execute("VACUUM INTO ?1", [tmp]) .map_err(|e| format!("backup_failed: {}", e))?; // VACUUM INTO does not sync its output; the rename must not publish a - // copy a power cut could still truncate (nor replace a good one with it). Write access: Windows refuses - // to flush a file opened read-only. + // copy a power cut could still truncate, nor replace a good one with it. + // Write access: Windows refuses to flush a file opened read-only. fs::OpenOptions::new() .write(true) .open(&tmp_path)