Fade out unnecessary code

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Antonio Scandurra
2022-03-15 15:51:59 +01:00
co-authored by Nathan Sobo
parent 41bd58e3ac
commit 7155dabf5b
10 changed files with 73 additions and 34 deletions
+2 -1
View File
@@ -819,7 +819,8 @@ impl<'a> Iterator for BlockChunks<'a> {
text: unsafe { std::str::from_utf8_unchecked(&NEWLINES[..line_count as usize]) },
syntax_highlight_id: None,
highlight_style: None,
diagnostic: None,
diagnostic_severity: None,
is_unnecessary: false,
});
}
+2 -1
View File
@@ -1078,7 +1078,8 @@ impl<'a> Iterator for FoldChunks<'a> {
text: output_text,
syntax_highlight_id: None,
highlight_style: None,
diagnostic: None,
diagnostic_severity: None,
is_unnecessary: false,
});
}