test(parser): remove unnecessary mutable binding

This commit is contained in:
kevin
2026-09-17 16:32:24 +08:00
parent adde6e4f4f
commit b7ba9d47d1
+1 -1
View File
@@ -1855,7 +1855,7 @@ mod tests {
fn text_document_stream_preserves_literal_markup_and_leading_newline() {
let payload = "\n<b>Gülçek</b>&amp;<script>window.executed=1</script></pre>";
for content_type in ["text/plain", "application/json", "application/problem+json"] {
let mut stream = HtmlParser::SCRIPTING_ENABLED.start_text_document(
let stream = HtmlParser::SCRIPTING_ENABLED.start_text_document(
Url::parse("https://example.test/data").unwrap(),
content_type,
);