git.delta.rocks / jrsonnet / refs/commits / 796c7a04057c

difftreelog

fix explaining trace underflow

Yaroslav Bolyukin2022-11-03parent: #c607d6b.patch.diff
in: master

1 file changed

modifiedcrates/jrsonnet-evaluator/src/trace/mod.rsdiffbeforeafterboth
302 annotation_type: AnnotationType::Error,302 annotation_type: AnnotationType::Error,
303 range: (303 range: (
304 start.offset - start.line_start_offset,304 start.offset - start.line_start_offset,
305 (end.offset - start.line_start_offset).min(source_fragment.len()),305 (end.offset.saturating_sub(start.line_start_offset))
306 .min(source_fragment.len()),
306 ),307 ),
307 }],308 }],