mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-05-21 09:12:15 +00:00
Applied clippy
This commit is contained in:
parent
4eea56677c
commit
5cf1191e26
@ -44,7 +44,7 @@ fn sanitize_stdout_line(line: &str) -> String {
|
|||||||
// CSI sequence: ESC [ ... <final>
|
// CSI sequence: ESC [ ... <final>
|
||||||
if next == '[' {
|
if next == '[' {
|
||||||
chars.next();
|
chars.next();
|
||||||
while let Some(csi_char) = chars.next() {
|
for csi_char in chars.by_ref() {
|
||||||
let code = csi_char as u32;
|
let code = csi_char as u32;
|
||||||
if (0x40..=0x7E).contains(&code) {
|
if (0x40..=0x7E).contains(&code) {
|
||||||
break;
|
break;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user