move crate level clippy attribute to function

This commit is contained in:
figsoda 2021-11-11 20:28:40 -05:00
parent 03039ac9c0
commit 39c04d35e5
2 changed files with 1 additions and 1 deletions

View file

@ -256,6 +256,7 @@ fn _render(frame: &mut Frame<impl Backend>, size: Rect, widget: &Widget, s: &mut
}
}
#[allow(clippy::too_many_arguments)]
fn flatten<'a>(
xs: &'a Texts,
status: &'a Status,

View file

@ -1,4 +1,3 @@
#![allow(clippy::too_many_arguments)]
#![forbid(unsafe_code)]
mod app;