diff options
author | Jesse Luehrs <doy@tozt.net> | 2019-11-11 05:02:15 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2019-11-11 05:02:15 -0500 |
commit | 242007d9146d793bf64bae69ec91f719bbcad48a (patch) | |
tree | 7eaa43c1d6871955cea489ce21cc33d8cdb60c95 /src | |
parent | c61c85a7985358d726cc0ba0649ce9b269b62d5c (diff) | |
download | vt100-rust-242007d9146d793bf64bae69ec91f719bbcad48a.tar.gz vt100-rust-242007d9146d793bf64bae69ec91f719bbcad48a.zip |
allow cognitive_complexity everywhere
Diffstat (limited to 'src')
-rw-r--r-- | src/lib.rs | 1 | ||||
-rw-r--r-- | src/term.rs | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -37,6 +37,7 @@ // #![warn(clippy::cargo)] #![warn(clippy::pedantic)] #![warn(clippy::nursery)] +#![allow(clippy::cognitive_complexity)] #![allow(clippy::missing_const_for_fn)] #![allow(clippy::single_match)] #![allow(clippy::too_many_arguments)] diff --git a/src/term.rs b/src/term.rs index d353d35..e1f1a22 100644 --- a/src/term.rs +++ b/src/term.rs @@ -103,7 +103,7 @@ impl Attrs { } impl BufWrite for Attrs { - #[allow(unused_assignments, clippy::cognitive_complexity)] + #[allow(unused_assignments)] fn write_buf(&self, buf: &mut Vec<u8>) { if self.fgcolor.is_none() && self.bgcolor.is_none() |