summaryrefslogtreecommitdiffstats
path: root/src/render
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2025-06-28 19:17:43 +0800
committerGitHub <noreply@github.com>2025-06-28 19:17:43 +0800
commit419790fb74fbaf47d54519238b5a542a3875961e (patch)
tree8917db58a4a77a514079bf115d670a3f82003c03 /src/render
parentbad300bbce72dff6f085fc8b94e8ffbdd103f47f (diff)
downloadaichat-419790fb74fbaf47d54519238b5a542a3875961e.tar.gz
chore: clippy (#1334)
Diffstat (limited to 'src/render')
-rw-r--r--src/render/stream.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/stream.rs b/src/render/stream.rs
index d2ac6ef..a6233a5 100644
--- a/src/render/stream.rs
+++ b/src/render/stream.rs
@@ -43,7 +43,7 @@ pub async fn raw_stream(
if let Some(evt) = rx.recv().await {
match evt {
SseEvent::Text(text) => {
- print!("{}", text);
+ print!("{text}");
stdout().flush()?;
}
SseEvent::Done => {