1
Fork 0

dedupe 'annotate-snippets' crate versions

This commit is contained in:
klensy 2022-07-31 16:44:06 +03:00
parent 06f4950cbd
commit 754b52669f
4 changed files with 10 additions and 12 deletions

View file

@ -183,7 +183,11 @@ impl AnnotateSnippetEmitterWriter {
annotation_type: annotation_type_for_level(*level),
}),
footer: vec![],
opt: FormatOptions { color: true, anonymized_line_numbers: self.ui_testing },
opt: FormatOptions {
color: true,
anonymized_line_numbers: self.ui_testing,
margin: None,
},
slices: annotated_files
.iter()
.map(|(source, line_index, annotations)| {