summaryrefslogtreecommitdiffstats
path: root/vendor/pest/src/parser.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--vendor/pest/src/parser.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/vendor/pest/src/parser.rs b/vendor/pest/src/parser.rs
index 8dd381419..1c83a0666 100644
--- a/vendor/pest/src/parser.rs
+++ b/vendor/pest/src/parser.rs
@@ -14,5 +14,6 @@ use crate::RuleType;
/// A trait with a single method that parses strings.
pub trait Parser<R: RuleType> {
/// Parses a `&str` starting from `rule`.
- fn parse(rule: R, input: &str) -> Result<Pairs<R>, Error<R>>;
+ #[allow(clippy::perf)]
+ fn parse(rule: R, input: &str) -> Result<Pairs<'_, R>, Error<R>>;
}