fixup! mv spans to separate span file
This commit is contained in:
parent
1bbfd4a96a
commit
d2df3eb8a1
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@ impl<'s, 'i> InlineSpansSlice<'s, 'i> {
|
||||||
} else {
|
} else {
|
||||||
(
|
(
|
||||||
Span::new(self.spans[0].start() + self.first_skip, self.spans[0].end()),
|
Span::new(self.spans[0].start() + self.first_skip, self.spans[0].end()),
|
||||||
1..self.spans.len().saturating_sub(2),
|
1..1 + self.spans.len().saturating_sub(2),
|
||||||
Span::by_len(self.spans[self.spans.len() - 1].start(), self.last_len),
|
Span::by_len(self.spans[self.spans.len() - 1].start(), self.last_len),
|
||||||
)
|
)
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue