From 34792f8352d397622dfe8a93b174ad06fea767e0 Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Tue, 2 Jul 2024 11:12:26 +0200 Subject: [PATCH] fix: Remove unnecessary qualification (#1024) Signed-off-by: Christian Gmeiner Co-authored-by: Christian Gmeiner --- pest/src/iterators/pair.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pest/src/iterators/pair.rs b/pest/src/iterators/pair.rs index 690f0a18..338014f8 100644 --- a/pest/src/iterators/pair.rs +++ b/pest/src/iterators/pair.rs @@ -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. @@ -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