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)