Wrap the span_map tuple index into a type called "LightSpan"

This commit is contained in:
Guillaume Gomez
2021-05-04 21:41:45 +02:00
committed by Guillaume Gomez
parent c5c927dfda
commit e8869cb7a7
4 changed files with 68 additions and 44 deletions

View File

@@ -34,7 +34,7 @@ mod span_map;
mod write_shared;
crate use context::*;
crate use span_map::{collect_spans_and_sources, LinkFromSrc};
crate use span_map::{collect_spans_and_sources, LightSpan, LinkFromSrc};
use std::collections::VecDeque;
use std::default::Default;