chore: upgrade to Rust 1.89

This commit is contained in:
Michael Bolin
2025-08-19 12:02:54 -07:00
parent 1f5638b0f3
commit c6f4144b49
36 changed files with 490 additions and 505 deletions
+4 -4
View File
@@ -29,9 +29,9 @@ pub(crate) fn handle_last_message(last_agent_message: Option<&str>, output_file:
}
fn write_last_message_file(contents: &str, last_message_path: Option<&Path>) {
if let Some(path) = last_message_path {
if let Err(e) = std::fs::write(path, contents) {
eprintln!("Failed to write last message file {path:?}: {e}");
}
if let Some(path) = last_message_path
&& let Err(e) = std::fs::write(path, contents)
{
eprintln!("Failed to write last message file {path:?}: {e}");
}
}