Skip to content

Commit d53934f

Browse files
committed
Fixed according to cargo clippy warnings(tests)
1 parent 06f3fd4 commit d53934f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/math.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ pub fn floor_sum(n: i64, m: i64, mut a: i64, mut b: i64) -> i64 {
102102

103103
#[cfg(test)]
104104
mod tests {
105+
#![allow(clippy::unreadable_literal)]
106+
#![allow(clippy::cognitive_complexity)]
105107
use super::*;
106108
#[test]
107109
fn test_pow_mod() {

0 commit comments

Comments
 (0)