Skip to content

Commit 2a14f63

Browse files
Allow cognitive complexity lint for tests
1 parent 47a266a commit 2a14f63

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/internal_math.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ pub(crate) fn primitive_root(m: i32) -> i32 {
227227
#[cfg(test)]
228228
mod tests {
229229
#![allow(clippy::unreadable_literal)]
230+
#![allow(clippy::cognitive_complexity)]
230231
use crate::internal_math::{inv_gcd, is_prime, pow_mod, primitive_root, safe_mod, Barrett};
231232
use std::collections::HashSet;
232233

0 commit comments

Comments
 (0)