Fix formatting

This commit is contained in:
Edwin Cheng 2019-11-05 09:43:59 +08:00
parent 2a76bb5a0b
commit 568f3cff41

View file

@ -148,7 +148,7 @@ impl ExpandedRangeMap {
.filter_map(|(r, tid)| {
let adjusted_id = tt::TokenId(tid.0.checked_sub(shift)?);
let to_range = to.relative_range_of(adjusted_id)?;
Some((*r, TextRange::offset_len(to_range.start() + start, to_range.len())))
})
.collect()