aboutsummaryrefslogtreecommitdiffstats
path: root/src/parser
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser')
-rw-r--r--src/parser/pest_rst.rs2
-rw-r--r--src/parser/tests.rs3
2 files changed, 5 insertions, 0 deletions
diff --git a/src/parser/pest_rst.rs b/src/parser/pest_rst.rs
index 8c36fc1..74199a8 100644
--- a/src/parser/pest_rst.rs
+++ b/src/parser/pest_rst.rs
@@ -1,3 +1,5 @@
+#![allow(clippy::redundant_closure)]
+
use pest_derive::Parser;
#[derive(Parser)]
diff --git a/src/parser/tests.rs b/src/parser/tests.rs
index 7c5c114..331f87b 100644
--- a/src/parser/tests.rs
+++ b/src/parser/tests.rs
@@ -53,6 +53,7 @@ Title
};
}
+#[allow(clippy::cyclomatic_complexity)]
#[test]
fn two_targets() {
parses_to! {
@@ -75,6 +76,7 @@ fn two_targets() {
};
}
+#[allow(clippy::cyclomatic_complexity)]
#[test]
fn admonitions() {
parses_to! {
@@ -109,6 +111,7 @@ fn admonitions() {
// TODO: substitutions
// TODO: images
+#[allow(clippy::cyclomatic_complexity)]
#[test]
fn nested_lists() {
parses_to! {