refactor: Updated to the most recent Rust version with 2024 syntax

This commit is contained in:
2025-11-07 15:50:55 -07:00
parent 667c843fc0
commit 14549afd52
44 changed files with 377 additions and 371 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
use super::{MarkdownRender, SseEvent};
use crate::utils::{poll_abort_signal, spawn_spinner, AbortSignal};
use crate::utils::{AbortSignal, poll_abort_signal, spawn_spinner};
use anyhow::Result;
use crossterm::{
@@ -8,7 +8,7 @@ use crossterm::{
terminal::{self, disable_raw_mode, enable_raw_mode},
};
use std::{
io::{stdout, Stdout, Write},
io::{Stdout, Write, stdout},
time::Duration,
};
use textwrap::core::display_width;