From 33a0d4257308c19cde4edc2c9a8b26d620db0607 Mon Sep 17 00:00:00 2001 From: Ryo Yamashita Date: Wed, 16 Sep 2020 14:13:19 +0900 Subject: [PATCH] Move the `#[allow]` attribute to string.rs --- src/lib.rs | 1 - src/string.rs | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 5432161..5db27d7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -8,7 +8,6 @@ mod mincostflow; mod modint; mod scc; mod segtree; -#[allow(clippy::many_single_char_names)] mod string; 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();