diff options
| author | sigoden <sigoden@gmail.com> | 2025-06-28 19:17:43 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-28 19:17:43 +0800 |
| commit | 419790fb74fbaf47d54519238b5a542a3875961e (patch) | |
| tree | 8917db58a4a77a514079bf115d670a3f82003c03 /src/render/stream.rs | |
| parent | bad300bbce72dff6f085fc8b94e8ffbdd103f47f (diff) | |
| download | aichat-419790fb74fbaf47d54519238b5a542a3875961e.tar.gz | |
chore: clippy (#1334)
Diffstat (limited to 'src/render/stream.rs')
| -rw-r--r-- | src/render/stream.rs | 2 |
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 => { |
