From e8e323fb25f425f1dc07e9096dfc4b3c031aa4a0 Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Tue, 2 Jul 2024 07:48:23 +0200 Subject: [PATCH] fix: Remove unnecessary qualification Signed-off-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