tamer: diagnose::report: Remove TODOs that are no longer applicable

These relate to the most recent commits.

DEV-12151
main
Mike Gerwitz 2022-04-29 12:34:48 -04:00
parent 2ce0dbdd84
commit f8dda12fae
1 changed files with 0 additions and 3 deletions

View File

@ -309,14 +309,11 @@ impl<'s, 'd> Section<'d> {
extend: Option<&mut Section<'d>>,
) -> Option<Self> {
match extend {
// TODO: Take highest level.
Some(extend_sec) if self.span == extend_sec.span => {
// TODO: At the time of writing this will cause duplication of
// system labels,
// which is not desirable.
extend_sec.body.extend(
// TODO: The system wastefully allocates duplicate source
// lines when resolving spans only to discard them here.
self.body
.into_iter()
.filter_map(SectionLine::into_footnote),