Merge pull request #1186 from nearai/staging-promote/8753c482-23098316440

chore: promote staging to staging-promote/71b1a677-23096345848 (2026-03-14 23:05 UTC)
This commit is contained in:
Henry Park
2026-03-16 08:57:16 -07:00
committed by GitHub
+3 -2
View File
@@ -212,9 +212,10 @@ impl HttpMcpTransport {
}
}
}
// Keep only the unprocessed trailing fragment.
// Keep only the unprocessed trailing fragment without allocating
// a new String each iteration.
if remaining_start > 0 {
buffer = buffer[remaining_start..].to_string();
buffer.drain(..remaining_start);
}
}