Fix lifetime naming
This commit is contained in:
parent
0fa8140644
commit
d2e1913c63
@ -69,7 +69,7 @@ impl<'src> DebugTools for super::TokenizedFile<'src> {
|
||||
|
||||
/// Helper that prints every span in `spans` together with its UTF-16
|
||||
/// column boundaries.
|
||||
fn dump_spans<'a>(spans: &[super::TokenPiece<'a>]) {
|
||||
fn dump_spans<'src>(spans: &[super::TokenPiece<'src>]) {
|
||||
let mut col_utf16 = 0usize;
|
||||
for span in spans {
|
||||
let start = col_utf16;
|
||||
|
Loading…
Reference in New Issue
Block a user