Fix last few warnings manually

This commit is contained in:
Amos Wenger
2022-07-20 15:05:02 +02:00
parent 816f7fe12a
commit 8318035726
4 changed files with 7 additions and 7 deletions

View File

@@ -7,7 +7,7 @@ pub(crate) fn diff(left: &str, right: &str) -> TextEdit {
textedit_from_chunks(chunks)
}
fn textedit_from_chunks(chunks: Vec<dissimilar::Chunk>) -> TextEdit {
fn textedit_from_chunks(chunks: Vec<dissimilar::Chunk<'_>>) -> TextEdit {
let mut builder = TextEdit::builder();
let mut pos = TextSize::default();