Skip to content

Commit 6ce68ec

Browse files
committed
fix(Clippy): Allow Cyclomatic Complexity on nom parser
1 parent 33dee91 commit 6ce68ec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/docs.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ fn as_kv_whitespace(input: &str) -> Result<KV, nom::ErrorKind> {
8585
}
8686

8787
/// Nom function to convert a given string in to a `Doc`
88+
#[allow(clippy::cyclomatic_complexity)]
8889
fn parse_doc<'a>(input: &'a str, delims: Delimiters) -> IResult<&'a str, Doc> {
8990
do_parse!(
9091
input,

0 commit comments

Comments
 (0)