Skip to content

Commit

Permalink
Add a TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
osa1 committed Jan 30, 2024
1 parent b1bb6d8 commit acd2f89
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/h10/src/token.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ pub struct Token {
///
/// Column number is also relative, but it's also absolute as top-level groups always start at
/// column 0.
//
// TODO: We can move this out of the mutex if we store absolute positions instead of relative
// to the AST node, as we never really udpate a token's span, we only update its links.
pub span: Mutex<Span>,

/// The previous token.
Expand Down

0 comments on commit acd2f89

Please sign in to comment.