From a97d1da3ab1fcafc111e369589bb06358e67ecdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 19 Nov 2020 18:20:29 +0200 Subject: [PATCH] closedcaption: Silence type complexity warning --- video/closedcaption/src/mcc_parse/imp.rs | 1 + video/closedcaption/src/scc_parse/imp.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/video/closedcaption/src/mcc_parse/imp.rs b/video/closedcaption/src/mcc_parse/imp.rs index 4af485a8..953b70f3 100644 --- a/video/closedcaption/src/mcc_parse/imp.rs +++ b/video/closedcaption/src/mcc_parse/imp.rs @@ -155,6 +155,7 @@ fn parse_timecode_rate( } impl State { + #[allow(clippy::type_complexity)] fn get_line( &mut self, drain: bool, diff --git a/video/closedcaption/src/scc_parse/imp.rs b/video/closedcaption/src/scc_parse/imp.rs index b8028446..22a2b477 100644 --- a/video/closedcaption/src/scc_parse/imp.rs +++ b/video/closedcaption/src/scc_parse/imp.rs @@ -63,6 +63,7 @@ impl Default for State { } impl State { + #[allow(clippy::type_complexity)] fn get_line( &mut self, drain: bool,