feat: manual props

This commit is contained in:
Jonathan Kelley committed 2022-06-28 17:16:26 -04:00
1 parent 5bab835843
commit fa756ba245
6 files changed
+245 -57

No files matched your search

+4
View File
@@ -83,6 +83,10 @@ impl Buffer {
}
}
if comments.len() == 1 && self.src[comments[0]].is_empty() {
comments.pop();
}
let mut last_was_empty = false;
for comment_line in comments.drain(..).rev() {
let line = &self.src[comment_line];