diff --git a/src/lib.rs b/src/lib.rs index 6ca50c0..5452b25 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -8,7 +8,6 @@ pub mod mincostflow; pub mod modint; pub mod scc; pub mod segtree; -#[allow(clippy::many_single_char_names)] pub mod string; pub mod twosat; diff --git a/src/string.rs b/src/string.rs index 41cc217..4ea28b8 100644 --- a/src/string.rs +++ b/src/string.rs @@ -1,3 +1,5 @@ +#![allow(clippy::many_single_char_names)] + fn sa_naive(s: &[T]) -> Vec { let n = s.len(); let mut sa: Vec = (0..n).collect();