Skip to content

Commit

Permalink
fix: Remove unnecessary qualification (#1024)
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Gmeiner <[email protected]>
Co-authored-by: Christian Gmeiner <[email protected]>
  • Loading branch information
austriancoder and Christian Gmeiner authored Jul 2, 2024
1 parent b858b4a commit 34792f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pest/src/iterators/pair.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ use super::line_index::LineIndex;
use super::pairs::{self, Pairs};
use super::queueable_token::QueueableToken;
use super::tokens::{self, Tokens};
use crate::span::{self, Span};
use crate::span::Span;
use crate::RuleType;

/// A matching pair of [`Token`]s and everything between them.
Expand Down Expand Up @@ -204,7 +204,7 @@ impl<'i, R: RuleType> Pair<'i, R> {
let start = self.pos(self.start);
let end = self.pos(self.pair());

span::Span::new_internal(self.input, start, end)
Span::new_internal(self.input, start, end)
}

/// Get current node tag
Expand Down

0 comments on commit 34792f8

Please sign in to comment.