Skip to content

Commit b8c0556

Browse files
authored
fix: repair main build after cross-PR merge skew (#1020)
1 parent 87e45c6 commit b8c0556

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎crates/buzz-acp/src/lib.rs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3159,6 +3159,7 @@ mod error_outcome_emission_tests {
31593159
max_turn_duration_secs: 3600,
31603160
agents: 1,
31613161
heartbeat_interval_secs: 0,
3162+
turn_liveness_secs: 10,
31623163
heartbeat_prompt: None,
31633164
system_prompt: None,
31643165
initial_message: None,

‎desktop/src-tauri/src/commands/legacy_storage.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ fn decode_webkit_local_storage_value(bytes: &[u8]) -> Option<String> {
8080
return Some(String::new());
8181
}
8282

83-
if bytes.len() % 2 == 0 {
83+
if bytes.len().is_multiple_of(2) {
8484
let has_utf16_ascii_shape = bytes.chunks_exact(2).any(|chunk| chunk[1] == 0);
8585
if has_utf16_ascii_shape {
8686
let utf16: Vec<u16> = bytes

0 commit comments

Comments
 (0)